LCL-Qt do not send 'ESC' key to UTF8KeyPress
Original Reporter info from Mantis: tiagomunhoz
-
Reporter name: Tiago Tarifa Munhoz
Original Reporter info from Mantis: tiagomunhoz
- Reporter name: Tiago Tarifa Munhoz
Description:
This behavior don't happen if the same program is compiled with GTK2 LCLWidget.
If you apply the workaround as in the attached image, the problem will apparently be resolved without side effects.
Steps to reproduce:
try to do some action with ESC key using OnUTF8KeyPress method.
I made a simple program (teste.tar.gz) to do this tests.
Additional information:
My environment
-Linux: OpenSuSE Tumbleweed Snapshot 20180903
-Kernel: 4.18.5-1-default #1 (closed) SMP PREEMPT Fri Aug 24 12:38:43 UTC 2018 (9e91e29) x86_64 x86_64 x86_64 GNU/Linux
-LibQt4Pas: libQt4Pas.so.5.2.5
-Lazarus: 1.8.4
-FPC: Free Pascal Compiler version 3.0.4 [2017/10/02] for x86_64
The same happend if:
-Update Lazarus to 2.0.2
-Use QT5 (in this case, I tested on Gentoo + Lazarus 1.8.4)
Mantis conversion info:
- Mantis ID: 35448
- Version: 1.8.4
- Fixed in revision: r61139 (#485494fb)
- Monitored by: » jepafi (Jean Patrick)