Closed
Bug 161142
Opened 22 years ago
Closed 11 years ago
Inconsistent (broken???) keyCodes for dash/subtract keys
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: robert, Assigned: masayuki)
References
Details
(Whiteboard: DIGBug)
Attachments
(1 file)
777 bytes,
text/html
|
Details |
I'm seeing inconsistencies with how the dash ('-' on keyboard) and subtract ('-' on number pad) keys work across platforms. The following table lists the event.keyCode values that I've been seeing on the various systems. dash subtract NS7PR1/Win2K 0x6D 0xE2 NS6.2/Win2K 0x6D 0xE2 Moz1.1/Win2K 0x6D 0xE2 IE5.5/Win2K 0xBD 0xE2 NS7PR1/MacOSX 0x00 0x6D NS6.2/MacOSX 0x00 0x6D Moz1.1/MacOSX 0x00 0x6D IE5.1/MacOSX 0xBD 0x6D http://lxr.mozilla.org/mozilla/source/dom/public/idl/events/nsIDOMKeyEvent.idl lists the keycodes for Mozilla, but only the code for DOM_VK_SUBTRACT (0x6d) is listed there. I'm not sure what the "right" values are, but I'm pretty sure that, if nothing else, the zero value on MacOSX is wrong.
Reporter | ||
Comment 1•22 years ago
|
||
Test for showing keyCodes, charCodes, and key event sequence.
Reporter | ||
Updated•22 years ago
|
Summary: Inconsistent (broken???) keyCodes → Inconsistent (broken???) keyCodes for dash/subtract keys
Whiteboard: DIGBug
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Reporter | ||
Comment 3•21 years ago
|
||
This should probably get assigned to someone has a valid email address and might look at this sometime this millenium.
Updated•19 years ago
|
Assignee: saari → events
Updated•15 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Assignee | ||
Comment 4•11 years ago
|
||
By the fix of bug 630810, now, keyCode value of printable keys are in standard location is computed from unshifted character. And if the unshifted character is '-', DOM_VK_HYPHEN_MINUS is used.
Assignee: nobody → masayuki
Status: NEW → RESOLVED
Closed: 11 years ago
Component: Event Handling → Widget: Win32
Depends on: 630810
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•