[Webkit-unassigned] [Bug 111112] [chromium] Keydown event for 'shift+alt' returns win keycode instead of 'alt'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 5 16:03:52 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=111112
--- Comment #3 from chandra shekar vallala <chandra.vallala at motorola.com> 2013-03-05 16:06:17 PST ---
(In reply to comment #2)
> (From update of attachment 190807 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=190807&action=review
>
> > Source/WebCore/ChangeLog:12
> > + Added Manual Test : ManualTests/shift-alt-key-event.html
> > + Try press Shift then alt key. The test passes if the shiftKey, altKey values
> > + of JSKeyEvent are true and keycode/which is 18.
>
> Did you try writing a layout test using eventSender? It would be nice to know why that doesn't work.
>
Yes, I tried writing a layout test using eventSender. It didn't work since EventeSender::keyDown is unable to simulate a WebKeyboardEvent with keycode = GDK_Meta, modifier=Shift|Alt
> Also, did you test this in Firefox on Linux? What does it send? If we are matching Firefox, please include that in the ChangeLog.
Yes, I tried in Firefox, Opera and its working fine. Firefox do not map the keycode to Windows keycode directly, They find the right keycode for a GdkEventKey if the key event has a modifier.
Chrome key code conversion does the same in above case.
ui/base/keycodes/keyboard_code_conversion_x.cc:791
--
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