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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 25 12:47:38 PDT 2010


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

           Summary: Dvorak-Qwerty keyboard layout broken wrt javascript
                    key codes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Major
          Priority: P3
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andpoul at gmail.com


Webkit is reporting incorrect key codes to web apps when the meta/command key
is down in the dvorak - qwerty command layout.

Steps to reproduce:

1. Enable the "Dvorak - Qwerty <command>" layout in system preferences and
switch to it

2. Open test page in Safari

3. Type command-k with the text field selected (hit command and the k key on
the keyboard)

console log is :
key pressed. code:84 char:0 meta:true fromCharCode:T keyIdentifier:U+0054
keyLocation:0

expected:
key pressed. code:75 char:0 meta:true fromCharCode:K keyIdentifier:U+004B
keyLocation:0

The point of the dvorak-qwerty layout is that it should send qwerty-mapped
characters when the command key is held down, otherwise behaving like a dvorak
keyboard. This is so that commands are still in their familiar and ergonomic
places ie command-c, etc.

The impacts of this bug on dvorak-qwerty users are far and wide, as many
websites trap keyboard shortcuts and prevent the default action. Thus, typing
command-V, which usually results in a "paste" action can instead trigger
whatever is mapped to command-K in the web app.

For a real-world example, try to use the http://stackoverflow.com code editor
in this layout.

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