[Laszlo-dev] UPDATED For Review: Change 20090203-hqm-r, Summary: Fix for missing key up events in swf runtime
Henry Minsky
henry.minsky at gmail.com
Tue Feb 3 16:41:17 PST 2009
I'm using IE7 on Windows XP, running under Parallels on OSX.
Here is a trace in swf9 of the key events that are received by the
kernel listener, for two cases
of typing "ctrl-c". The first case the control key is pressed and
held, then the 'c' key is pressed then released, and then the control
key is released.
ctrl-down c-down c-up ctrl-up
__keyboardEvent 17 onkeydown ctrlKey: true
__keyboardEvent 67 onkeyup ctrlKey: true
Note there is no 'c' key down event, but there is a key up event for
it. The the value of KeyboardEvent.ctrlKey is true because the ctrl
key is still down.
I tried another sequence, which might be something that someone types
by accident
ctrl-down c-down ctrl-up cup
__keyboardEvent 17 onkeydown ctrlKey: true
__keyboardEvent 17 onkeyup ctrlKey: false
In this case there is no "c" key up or down event, but there is a
control key up event.
On Tue, Feb 3, 2009 at 5:49 PM, André Bargull <andre.bargull at udo.edu> wrote:
> What is the state of KeyboardEvent.ctrlKey in that case and which browser
> did you use? Because we know that the IE ActiveX Player has got issues
> related to browser short-cuts (LPP-7678 - "<command /> is not working on
> IE.").
>
> On 2/3/2009 11:26 PM, Henry Minsky wrote:
>>
>> Hmm, in windows I sometimes see kind of the 'reverse' problem, where
>> if you type 'ctrl-v', there
>> is a key-up event for the 'v', but one never comes for the 'ctrl' key-up.
>>
More information about the Laszlo-dev
mailing list