LCL-GTK: Numpad ENTER doen't run UTF8KeyPress. Ordinary ENTER does.
Original Reporter info from Mantis: tiagomunhoz
-
Reporter name: Tiago Tarifa Munhoz
Original Reporter info from Mantis: tiagomunhoz
- Reporter name: Tiago Tarifa Munhoz
Description:
I made a little change on gtk2proc.inc (tela.jpg) that fix it. This fix has this behaviour: on UTF8KeyPress, numpad ENTER has #141 (closed) value and #13 (closed) on KeyPress default.
IMHO, this behaviour is good because anyone can do 2 diferent tasks for 2 diferent keys that has the same meaning.
I made a simple software (test.tar.gz) for testing, and I beleive it's bring a better understand of what I'm saying.
Steps to reproduce:
press KeyPad and NumPad ENTER on TEdit or TMemo
Additional information:
Only happen on Linux + GTK2
Kernel: 4.18.5-1-default 0000001 SMP PREEMPT Fri Aug 24 12:38:43 UTC 2018 (9e91e29) x86_64 x86_64 x86_64 GNU/Linux
GTK2: libgtk-x11-2.0.so.0.2400.32
Mantis conversion info:
- Mantis ID: 35728
- OS: OpenSUSE Tumbleweed
- OS Build: 20180903
- Platform: x86_64
- Version: 2.0.2