WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
41016
REGRESSION: keycode for "N" changes when command+option are down
https://bugs.webkit.org/show_bug.cgi?id=41016
Summary
REGRESSION: keycode for "N" changes when command+option are down
Sidney San Martín
Reported
2010-06-22 15:39:15 PDT
Created
attachment 59423
[details]
Example. Warning: eats key presses. In the
r57958
nightly (covering
r57791
:57958), the key code for the N key onkeydown, when the command and option modifiers are down, changes from 78 (expected) to 192 (what?).
r57958
is in the wild at this point, in Safari 5 at least.
Attachments
Example. Warning: eats key presses.
(523 bytes, text/html)
2010-06-22 15:39 PDT
,
Sidney San Martín
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2010-06-22 15:47:12 PDT
Broke between
r57948
and
r57951
. I guess
http://trac.webkit.org/changeset/57951
Simon Fraser (smfr)
Comment 2
2010-06-22 15:48:44 PDT
<
rdar://problem/8119979
>
Alexey Proskuryakov
Comment 3
2010-06-22 16:03:35 PDT
That's key code for tilde, the character one can see in Keyboard Viewer at N position with Cmd+Option depressed. It's usual location on Apple U.S. keyboards is to the left of '1' key. Per
bug 37776
, Cmd-key combos have to use translated character code to produce key codes, and not physical key code. But doing so makes us handle Cmd+Option+N as tilde. Cmd+Option+N should produce 'N' keyCode for U.S. keyboard, same for Dvorak-QWERTY keyboard, but 'B' keyCode for plain Dvorak keyboard. This is tricky, I'm not sure how to implement such a rule.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug