Re: [patch] fix a problem with autorepeat cursor keys

2016-03-07 Thread Guillaume Munch
Dear Andreas Thank you very much for coming up already with a solution to your problem. I would not be surprised that this portion of code is buggy, because querying hasPendingEvents() inside a thread is already a weird way to decide to drop an event. Your patch looks simple but would need to

Re: [patch] fix a problem with autorepeat cursor keys

2016-03-07 Thread Andreas Amann
Uwe Stöhr writes: > Am 07.03.2016 um 02:13 schrieb Andreas Amann: > > > The attached patch against the current master branch fixes the problem >> for me. It first processes all events which are not caused by user >> input, and only if this does not clear the event queue

Re: [patch] fix a problem with autorepeat cursor keys

2016-03-07 Thread Uwe Stöhr
Am 07.03.2016 um 02:13 schrieb Andreas Amann: > The attached patch against the current master branch fixes the problem for me. It first processes all events which are not caused by user input, and only if this does not clear the event queue proceeds to drop the current event. Many thanks

[patch] fix a problem with autorepeat cursor keys

2016-03-06 Thread Andreas Amann
Hi, when I use lyx-2.1.4 on an older laptop (Celeron 550, arch-linux) I cannot use the cursor left and right keys in the usual way. They get stuck after moving by just one character, even if I keep the key pressed, and then I get a staggered irregular cursor motion. The problem is also present