gtk2: Arrow key with NUMLOCK state, give incorrect key codes in On_KeyDown
Original Reporter info from Mantis: Alextpp @Alexey-T1
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextpp @Alexey-T1
- Reporter name: CudaText man
Description:
demo.
run this demo, and press arrow keys, then arrow keys with Shift, with Shift+Ctrl.
in all cases arrow keys must give keycodes 37 38 39 40.
so my app can detect - it is arrow.
But.
On Ubuntu with NUMLOCK On, demo gives another keycodes: 100 102 104 98.
it is not Delphi compatible too.
Additional information:
Original CudaText bug report: http://synwrite.sourceforge.net/forums/viewtopic.php?f=5&t=2585
Mantis conversion info:
- Mantis ID: 38508
- Platform: Ubuntu 20.04 x64
- Version: 2.1 (SVN)