[Libreoffice-bugs] [Bug 118723] Key events can be handled in wrong order by Basic scripts

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 19 17:20:16 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=118723

--- Comment #4 from Alex Fedorov <fedorov-ao at yandex.ru> ---
I have attached input_mangle.vbs script that demonstrates input mangling more
clearly.

Key press event handler (KeyHandler1_KeyPressed(oEvent) function) just logs
input, waits 100 ms and returns; it does not consume input. Logged input can be
displayed by pressing the "=" key.
The problem is that, even if the input is passed to the handler in the correct
order (see input log to verify this), the delay in key press handler causes LO
to print characters entered by the user in entirely wrong order.

Steps to reproduce:
Create a new module, paste script contents and run reg1() sub.
Try to print something. Observe, that the output is wrong. In my case, typing
"the quick brown fox" printed "hte qiukc brwon fox". 
Press "=" to display the input log (in my case: "the quick brown fox").
Observe, that logged input is in the correct order.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180719/03e5569b/attachment.html>


More information about the Libreoffice-bugs mailing list