Skip to content

Different / weird key mappings in terminal in Chrome #4087

@jmbarbier

Description

@jmbarbier

OS/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 c680aae

Steps to Reproduce

  1. With a french keyboard
  2. Open a terminal under Chrome
  3. 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

Firefox result

Chrome result

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions