question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing the keyboard layout doesn't stick

See original GitHub issue

Am using latest code-server v4.0.1, but this also happened in v3.12.0.

I am referring to changing the keyboard layout via the button in the bottom-right of the editor:

image

Changing it from Layout: US to something else doesn’t seem to have any effect… it remains as Layout: US and does so even after re-loading the window. Well, it’s inconsistent because I managed to change it to Hungarian (but then it didn’t change to anything else)… but even after changing to Hungarian, when the window was reloaded it was back to US.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:19 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
code-ashercommented, Jul 18, 2022

I tried this out on Codespaces and had similar problems so it appears to be an issue upstream.

What I observed:

  • Switching layout worked (visual indicator updated and keyboard shortcuts worked)
  • Refreshing switched me back to the default US layout
  • Switching layout stopped working (visual indicator does not update and keyboard shortcuts use the wrong keys)
  • If I delete keyboard.layout from my settings then switch the layout it works again (until the next refresh).

https://github.com/microsoft/vscode/issues/135960

One workaround is to set Keyboard: Dispatch to keycode instead of using layouts.

3reactions
code-ashercommented, Jan 10, 2022

From what I can remember I think this has never worked although I remember seeing some changes in VS Code to support it so maybe it is something wrong on our end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Switching keyboard layout doesn't work ANYMORE.
Switching keyboard layout doesn't work ANYMORE. The Left Alt+Ctrl combo doesn't change language anymore. The language bar doesn't appear ...
Read more >
Windows 10 keyboard layout changes randomly and won't ...
Every so often, seemingly at random, my keyboard layout silently changes to what I assume is a United States keyboard layout; so for...
Read more >
Fixes for common issues with switching keyboard layouts on ...
This issue only seems to affect keyboard layouts that you install, not ones already on the system. Go to the control panel (not...
Read more >
Windows 10 How to set the correct Keyboard layout for your ...
Setting the correct Keyboard layout on a PC can be tricky, follow these instructions and you will know where to set up the...
Read more >
Unable to change keyboard layout to Japanese language
Go to the 'Keyboards and Language' tab and choose Change keyboards. On the 'General' tab click 'Add'. Navigate to Japan and select Japanese...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found