[Lazarus] Xneur issue, Linux
lazarus at mfriebe.de
Fri Mar 24 19:37:33 CET 2017
On 24/03/2017 17:54, Alexey via Lazarus wrote:
> "xneur" package exists in Ubuntu. Site for app exists too.
> Install, run.
> Now in GEdit/ Sublime type:
> //PRosto SOme aa
> xneur fixes it:
> //Prosto Some aa
> In Lazarus IDE xneur makes error:
> //PRostoProst SOmeSome aa
> (its a test, real usage not needed in IDE. needed in apps.)
reminds me of a similar issue with VNC (its somewhere on our
bugtracker): VNC sends several keystrokes with the same timestamp.
Maybe xneur does the same. (If not, ignore the rest)
Apparently in linux, the message send by the OS to the app, has a timestamp.
From what I heart (not sure) this can be used to filter duplicate msgs
(same timestamp, ignore). The LCL apparently does this filtering (at
least for all custom controls).
I guess other linux apps just do not do this filtering.
I do not know what the correct behaviour should be.
So if (IF !!!) xneur sends several backspace with the same timestamp,
then LCL accepts only the first.
More information about the Lazarus