Gtk2,Qt: wrong events if key is changed in UTF8KeyPress
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
-
Reporter name: Zeljan Rikalo
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
- Reporter name: Zeljan Rikalo
Description:
As Bart explained in mailing list. Attached his example.
Win32 WS (press 'a'):
------------------------------------
Form1Utf8KeyPress: Utf8Key = a -> Z
Edit1Utf8KeyPress: Utf8Key = Z -> Y
Edit1.Text = Y
------------------------------------
Linux GTK2 (press 'a'):
------------------------------------
Form1Utf8KeyPress: Utf8Key = a -> Z
Edit1Utf8KeyPress: Utf8Key = Z -> Y
Form1KeyPress: Key = a -> #
Edit1KeyPress: Key = # -> @
Edit1.Text = @
------------------------------------
Linux/Qt (press 'a'):
------------------------------------
Endless loop of:
...
Form1Utf8KeyPress: Utf8Key = a -> Z
Edit1Utf8KeyPress: Utf8Key = Z -> Y
Form1KeyPress: Key = a -> #
Edit1KeyPress: Key = # -> @
Form1Utf8KeyPress: Utf8Key = Y -> Y