[Lazarus] A difference in keyhanding between Gtk2 and Darwin?

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jan 4 10:42:00 CET 2013


On Fri, 04 Jan 2013 09:33:15 +0100
Torsten Bonde Christiansen <tc at epidata.info> wrote:

> 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.

Please report the bug.

Mattias




More information about the Lazarus mailing list