Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keybinding not mapped correctly depending on Keyboard Layout #13874

Open
Tracked by #13192
jfaltermeier opened this issue Jul 2, 2024 · 1 comment
Open
Tracked by #13192

Keybinding not mapped correctly depending on Keyboard Layout #13874

jfaltermeier opened this issue Jul 2, 2024 · 1 comment

Comments

@jfaltermeier
Copy link
Contributor

Bug Description:

Keybindings including AltGr do not work (on German keyboard layout at least)

Steps to Reproduce:

  1. Use German keyboard layout
  2. Add a keybinding for e.g. "Ctrl+["
  3. Keybinding is not working. In the UI it shows as "Ctrl+ü", which actually works. (I think ü is [ on US layout)
  4. When I click to edit the binding again, it shows "Ctrl+[" though.

Additional Information

I'm not sure if there is a general issue with detecting Alt Gr/Figuring out the required keys for each layout.
However I think we shouldn't map to wrong keybindings at least.

  • Operating System: Ubuntu
  • Theia Version: master
@rschnekenbu
Copy link
Contributor

I don't know if this is related, but I get a lot of errors at startup about key bindings: [1175888:0709/134222.061193:ERROR:accelerator_util.cc(23)] The accelerator string can only contain ASCII characters, invalid string: "Ctrl+Shift+à"
I can reproduce the issue with a French keyboard too, with the keybindings containing ².

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants