KeyboardEvent.key of "," and "." keys in Brazilian keyboard's numpad are wrong on Windows
Reported by
dtoybo...@gmail.com,
May 18 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2739.0 Safari/537.36 Example URL: https://dvcs.w3.org/hg/d4e/raw-file/tip/key-event-test.html Steps to reproduce the problem: 1. Add Portuguese of Brazil keyboard layout into your Windows environment from Control Panel's "Add a language" and activate it. 2. Connect ABNT keyboard or Japanese Mac Keyboard (they have keys for both decimal and separator). 3. Press "." and "," with NumLock state. What is the expected behavior? Those key values should be same as actually inputted characters without any modifier keys. I.e., should be "." for "." (separator), "," for "," (decimal). What went wrong? Looks like that these key values are computed from the code values or scancode. I can input characters correctly with the keys but the key values are wrong. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 52.0.2739.0 Channel: dev OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0 I guess that other printable keys on numpad also mapped from scancode or code value. However, I don't know some keyboard layouts which input different characters from ANSI keyboard's labels.
,
May 18 2016
,
Jan 11 2018
,
Jan 14
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 17
(6 days ago)
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dtapu...@chromium.org
, May 18 2016Components: -Blink Blink>Input
Labels: Hotlist-Input-Dev
Owner: chongz@chromium.org
Status: Assigned (was: Unconfirmed)