New issue
Advanced search Search tips

Issue 681362 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

AltGr keyup events have the wrong value for |key|

Project Member Reported by w...@chromium.org, Jan 15 2017

Issue description

Chrome Version: 57.0.2951.0 dev
OS: ChromeOS

What steps will reproduce the problem?
(1) Load a page that displays DOM KeyboardEvent fields.
(2) Set a keyboard layout that treats right-Alt as AltGr.
(3) Press and release the AltGr key.

What is the expected result?

Expect that both the keydown and keyup events have "AltGraph" as their |key| value.

What happens instead?

keydown has the correct |key| value, but keyup reports |key| as "Alt".

 
Labels: Hotlist-Input-Dev
Status: Available (was: Untriaged)

Comment 2 by w...@chromium.org, Jan 24 2017

Cc: kpschoedel@chromium.org
Kevin, is it possible that the keyboard layout itself is wrong, i.e. that XKB reports ISO Level 3 Shift when it sees unmodified AltRight, but reports Meta/Alt when it sees ISO Level 3 Shift'd AltRight?

Comment 3 by w...@chromium.org, Jan 26 2017

Summary: AltGr keyup events have the wrong value for |key| (was: AltGr keyup events have he wrong value for |key|)

Comment 4 by w...@chromium.org, Feb 9 2018

If you press the right-Alt key under an AltGraph layout then you'll get repeated AltGraph-keydown events, and then an Alt-keyup event.  As per  issue 810103  we're also now mis-reporting the modifiers associated with the AltGraph-keydown.

Sign in to add a comment