Am Dienstag, 18. April 2017 um 01:46:46, schrieb Tommaso Cucinotta 
<tomm...@lyx.org>
> 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 ?

Hm, we may wait for log which is not yet flushed. Bad.
The only (reliable?) response I know of is through the lyx-server.
Still the handling of dialog-boxes as result of commands will be troubling.

> Thanks,
> 
>       T.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to