KeyboardEvent.code value in incorrect under Linux
Reported by
cameron....@gmail.com,
Apr 6 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Steps to reproduce the problem: 1. Open https://jsfiddle.net/v1gz5c5m/1/ 2. Press PageUp 3. Chromium sends code: Lang4, keyCode: 33, key: PageUp 4. Repeat with UpArrow, DownArrow, RightArrow, LeftArrow, Insert, Delete, Home, End, and PgDn for other incorrect results. What is the expected behavior? Expected result is that code is conceptually consistent with the value of key. What went wrong? Chromium returns junk values for keys in linux that make little sense. Did this work before? N/A Chrome version: 57.0.2987.133 Channel: stable OS Version: Ubuntu 16.04 Flash Version: Shockwave Flash 25.0 r0 I ran into this because VS Code uses chromium and this defect broke the editor. https://github.com/Microsoft/vscode/issues/24107
,
Apr 7 2017
Other users experiencing the issue are also using RDP to connect to their linux system, so that is probably related.
,
Apr 13 2017
I am getting the same incorrect behaviour as OP but I am accessing the linux system using "VcXsrv X Server" (v1.18.3.0) and not RDP.
,
Apr 17 2017
Unable to reproduce the issue on Ubuntu 16.04 using chrome reported version #57.0.2987.133 and latest beta #58.0.3029.68. Attached a screen cast for reference. Following are the steps followed to reproduce the issue. ------------ 1. Opened https://jsfiddle.net/v1gz5c5m/1/ 2. Pressed PageUp 3. Chrome sent code: PageUp, keyCode: 33, key: PageUp as expected. cameron.ackerman@ - Could you please check this issue using latest beta #58.0.3029.68 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not. Thanks...!!
,
Apr 17 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||
►
Sign in to add a comment |
|||
Comment 1 by ranjitkan@chromium.org
, Apr 7 2017