Hi!
I refer to issue #40067
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40067 that was programmers fault.
How ever when using that kind of code (that finally worked) I have now noticed that if QT5 widgets are used the numerical keypad works properly.
If same code is compiled with GTK2 widgets the numerical keypad is dead.
In both cases numbers at alphabet section of keyboard will work ok. It is just the numerical keys that do not work similar way.(right from alphabet keys).
Could there be something that I still do not know?
IMHO the keypad should work in same way with both widgets.
I do not like to make an issue if it is again programmer's fault.
[EDIT]
Forgot to say this is Fedora 37 Linux and Lazarus 2.2.4 (rev Unknown) FPC 3.2.2 x86_64-linux-gtk2
Attached pdf that shows difference in keycodes between GTK2 and QT5