Different / weird key mappings in terminal in Chrome
See original GitHub issueOS/Web Information
- Web Browser: Chrome 93.0.4577.63 64 bits / Firefox 91.0.2 64 bits
- Local OS: Ubuntu 20.04
- Remote OS: Ubuntu 20.04
- Remote Architecture: amd4
code-server --version
: 3.11.1 c680aae973d83583e4a73dc0c422f44021f0140e
Steps to Reproduce
- With a french keyboard
- Open a terminal under Chrome
- Type some non-letter keys (example : @&é"'…)
Expected
The letters @&é"’ shoud appear in terminal
Actual
- with firefox : the letters @&é"’ appear in terminal (good)
- with chrome : the letters '123456 appear in terminal (bad)
Screenshot
Notes
This issue is only present in terminal, for editors all keys are OK for all browsers. Changing vscode keyboard layout from us to fr have absolutely no effect. Trying to remap keys in keyboardLayout.json have no effect.
Code-server runs from these 2 Dockerfiles :
https://dev.solidev.net/school/develspace/develspace-services/-/blob/develop/base/Dockerfile https://dev.solidev.net/school/develspace/develspace-services/-/blob/develop/vscode/Dockerfile
This issue can be reproduced in VS Code: No
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Google Chrome ignores XmodMap key mapping - Ask Ubuntu
All programs in Ubuntu (such as gnome-terminal, xterm, Firefox, gedit) respect this mapping. However, Google Chrome ignores this mapping, resulting in the page ......
Read more >[Chromoting] Keyboard layout is wrong when both client and ...
Chrome should always map that key to the same USB keycode, but it doesn't. It looks like we need 3 different types of...
Read more >Chromebook keyboard shortcuts - Google Support
Display hidden files in the Files app, Ctrl + . (period) ; Open the status area (where the time appears), Shift + Alt...
Read more >Weird keyboard behaviour by Emacs in a terminal [duplicate]
The terminal only deals in characters, not keypresses, so there's no way for the other end to know what modifier keys were in...
Read more >Adapted my preferred keyboard mapping to Chrome OS - Reddit
It is my factual opinion that the best keyboard mapping is to have the <kbd>Caps</kbd> key send an <kbd>Esc</kbd> key event when pressed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing in favor of https://bugs.chromium.org/p/chromium/issues/detail?id=1245196
Follow-up : https://bugs.chromium.org/p/chromium/issues/detail?id=1248395 is closed and fixed, terminal works great now… 🍾