[Webkit-unassigned] [Bug 38241] [Win, Chrome] The key event when pressing AltGr key sets altGraphlKey=false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 29 05:43:50 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38241





--- Comment #3 from Hironori Bono <hbono at chromium.org>  2010-04-29 05:43:50 PST ---
(In reply to comment #2)
> Did you test that this works as expected in IE? AltGr is weird, see bug 34002
> for an unexpected behavior we saw before.

Thank you for your comment.
I'm afraid it is a little hard to say my change works "as expected in IE"
because IE doesn't have this altGraphKey property of WebKit. IE uses altLeft
property to distinguish a left-alt key and an alt-graph (right alt) key. That
is, this altLeft property becomes false when we type an alt-graph (or right
alt) key and becomes true whey we type a left alt key, respectively.
Even though I don't have any idea why WebKit added this altGraphKey property,
my change makes altGraphKey true if altLeft is false and makes altGraphKey
false if altLeft is true for compatibility with IE.

(*1) <http://msdn.microsoft.com/en-us/library/ms533076(VS.85).aspx>

As for Bug 34002, yes. an alt-graph key causes weird behaviors on Windows. So,
it may be a good idea to provide a way that notifies such weird behaviors are
caused by an alt-graph key. Obviously, there are some other options for this
purpose: e.g. setting DOM_KEY_LOCATION_RIGHT, adding the altLeft property of
IE, etc. So, it is definitely helpful to give me your thoughts about which is
the best option.

Regards,

Hironori Bono

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list