[Lazarus] A difference in keyhanding between Gtk2 and Darwin?
Torsten Bonde Christiansen
tc at epidata.info
Fri Jan 4 09:33:15 CET 2013
Hi List.
I have noticed a difference in the logical way key events works on Gtk2
and Darwin.
If i change the value of UTF8Key to "" (empty string) in an overridden
method of DoUTF8KeyPress,
then on Gtk2 the event is stopped and doesn't propegate to neither LCL
nor the OS.
However if I do the same on Darwin a subsequent set of event are fired,
amongst those a CN_CHAR
event and if not handled, then it is send to the OS.
Is this a bug, then i'll report it in the bug-tracker.
Regards,
Torsten Bonde Christiansen.
ps. using on both machines:
FPC: 2.6.0
Lazarus 1.1 (rev 39757)
More information about the Lazarus
mailing list