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

Issue 667915 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Multimedia keyboard generates incorrect |code| for Numpad Backspace key.

Project Member Reported by garykac@chromium.org, Nov 22 2016

Issue description

OS: Linux (I haven't tested Windows/Mac)
Chrome 54

Microsoft Multimedia keyboard, the Numpad Backspace key generates the wrong |code| value.

If generates "Backspace" (the same as the normal Backspace key) instead of"NumpadBackspace".

This bug means that 2 keys on the keyboard produce the same |code| value so they cannot be distinguished.

The |key| value for these 2 keys is correct: they both produce "Backspace".

You can test these values by visiting: https://cdn.rawgit.com/w3c/uievents/gh-pages/tools/key-event-viewer.html

 
Components: Blink>Input
Labels: Needs-Feedback
garykac@ does this work on FireFox?

I don't see a relevant scancode from evdev. So this value is assigned to be zero in the lookup table.
Cc: kpschoedel@chromium.org
garykac@ do you have any cycles to give this a try? I don't have one of these keyboards available but I could try to source one.

kpschoedel@ do you know what the evdev code is?
#3 According to ui/events/keycodes/dom/keycode_converter_data.inc the Linux kernel (as of 4.2) does not distinguish the two.
Confirmed this is still the case in tip-of-tree Linux https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hid/usbhid/usbkbd.c?id=refs/tags/v4.9-rc7

If upstream ever changes, changing Chrome would be trivial. Otherwise, I don't think there's anything we can do.

Status: WontFix (was: Untriaged)
Closing as there is nothing we can do.

Sign in to add a comment