Media keys 1 to 5 send non-standard events
Categories
(Core :: DOM: Events, task, P3)
Tracking
()
People
(Reporter: ossman, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Press media key 1 on a Microsoft Ergonomic Keyboard
Actual results:
I got "LaunchApplication6" as the key value.
Expected results:
Not sure. The specification doesn't have any obvious choice. But "LaunchApplication6" is not in the standard and doesn't match what's printed on the key. Perhaps "Soft1"?
Reporter | ||
Comment 1•5 years ago
|
||
Also reported to Chrome which have taken a different approach:
https://bugs.chromium.org/p/chromium/issues/detail?id=1020496
For reference, the underlying keysym is XF86Launch5. Not sure how the "5" got turned in to a "6", but there seems to be some connection here.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
The spec defines starting from LaunchApplication1
, X defines them starting from 0
. Therefore, we map the X's number +1.
Updated•5 years ago
|
Updated•2 years ago
|
Description
•