Oberon Community Platform Forum

Development => Bug Report => Topic started by: sage on June 29, 2011, 05:24:11 AM

Title: Window.KeyEvent
Post by: sage on June 29, 2011, 05:24:11 AM
Hi guys,
It seems that Window.KeyEvent works wrong under latest WinAos.
Key releasing events occurs as it should be, and 0 bit in flags equal to 1, telling that it's the key release event.
But, it's impossible to know what actually the key was released, because in that case ucs is always equal 0 and keysym is always equal 16777215 ???
See attached project, press some arrow keys.

Title: Re: Window.KeyEvent
Post by: sage on July 05, 2011, 09:26:20 AM
The bug exists also under A2 native  :-[
Investigating the I386.Keyboard.Mod I've discovered that Keyboard.Keyboard.HandleInterrupt wrongly handles key releasing events. The only useful information that it sends as message is flags field, other fields are nulled (ch set to 0X and keysym set to Inputs.ksNil).