New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 612737 link

Starred by 1 user

Issue metadata

Status: Available
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

KeyboardEvent.key of "," and "." keys in Brazilian keyboard's numpad are wrong on Windows

Reported by dtoybo...@gmail.com, May 18 2016

Issue description

UserAgent: 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.
 
Cc: dtapu...@chromium.org
Components: -Blink Blink>Input
Labels: Hotlist-Input-Dev
Owner: chongz@chromium.org
Status: Assigned (was: Unconfirmed)
Cc: garykac@chromium.org

Comment 3 by chongz@chromium.org, Jan 11 2018

Cc: chongz@chromium.org
Owner: ----
Status: Available (was: Assigned)
Project Member

Comment 4 by sheriffbot@chromium.org, Jan 14

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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

Comment 5 by nzolghadr@google.com, Jan 17 (6 days ago)

Labels: -Pri-2 Pri-3
Owner: garykac@chromium.org
Status: Available (was: Untriaged)

Sign in to add a comment