On 18/04/2017 01:04, Kornel Benko wrote:
So, I'd be in favor of using -SIGQUIT immediately on "TestEnd" in keytest.py, falling 
back to "kill -9" if LyX doesn't quit within .... 0.5 secs ?
(without adding the \Ax work-around in test cases, that should not bee needed 
anymore).

It may be too early. We should know first if the previously sent keystrokes ere 
processed.
But at least we could try.

right, I saw your other comment. I had somewhere in keytest.py code that doesn't send a 
key press unless the process is sleeping :-); this was needed otherwise when we have 
"KK: [long] sequence of keypresses", it was possible to loose keys on the go; 
however, the lyx_sleeping() might not be too precise, perhaps another way is to catch the 
end of LFUN processing via logging ?

Thanks,

        T.

Reply via email to