[Webkit-unassigned] [Bug 36616] Dvorak-Qwerty keyboard layout broken wrt javascript key codes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 25 17:44:35 PDT 2010


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





--- Comment #2 from Andrew Pouliot <andpoul at gmail.com>  2010-03-25 17:44:35 PST ---
I'm currently looking at KeyEventMac.mm where it creates a
PlatformKeyboardEvent from an NSEvent. 

If I print out the NSEvent going into here, I see:

NSEvent: type=KeyDown loc=(0,1158) time=56678.2 flags=0x100108 win=0x0
winNum=13159 ctxt=0x0 chars="k" unmodchars="t" repeat=0 keyCode=40"


In this case, I think the modified chars reflect the intent of the user. There
may be other cases like option-e on the mac (dead key), where it might be
desirable to send "e"=unmodified rather than ""=modified on to javascript. Does
anyone depend on this behavior?

I'm still trying to track down where in code the calculation of the
keyCode/keyIdentifier to report to javascript is.

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