Closed Bug 545721 Opened 15 years ago Closed 12 years ago

Javascript keyCode is 0 when tilde(~) is pressed, it should be 192

Categories

(Core :: Widget: Cocoa, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mordytk, Assigned: masayuki)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 On FF mac 3.6 if you are monitoring keyUp events, when the tilde(~) key is pressed the keyCode is returned as 0 it should be returned as 192 Reproducible: Always Steps to Reproduce: 1. Create a input field 2. Monitor keyUp Events and track the keyCode on that field 3. Press the tilde(~) key 4. The returned keyCode will be 0 Actual Results: keyCode is returned as 0 Expected Results: keyCode should be returned as 192
Component: General → Widget: Cocoa
Product: Firefox → Core
QA Contact: general → cocoa
I don't know which keyboard layout you use and whether the key is a dead key. However, the fix of bug 677252 should be fix this bug too. I mark this as FIXED. If it's still not fixed, feel free to reopen this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee: nobody → masayuki
I have an error in determining the keyCode for tilda (~) in Cyrillic keyboard layout, keyCode = 0.. Firefox 22
(In reply to Stanislav from comment #2) > I have an error in determining the keyCode for tilda (~) in Cyrillic > keyboard layout, keyCode = 0.. Firefox 22 File a new bug for every new fact with minute explanation.
The button Tilda still gives keycode 0 while cyrillic keyboard layout. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:54.0) Gecko/20100101 Firefox/54.0)
You need to log in before you can comment on or make changes to this bug.