visual-studio-codekeyboardfedoragnomekeyboard-layout

How to deal with keyboard layout broken when working in VSCode?


I've installed latest Fedora-36 + Gnome-42 distro and got some strange issue with keyboard layouts.

Somehow VSCode and gnome conflicting and (i guess!) i get frequently overridden keyboard layout.

FYTK how my keyboard layout looks like after some work: enter image description here

Idk if this is ok for keyboard layout to look this way, but i still have an issue of periodic hard VS Code freezes.

Also, sometimes, i get a problem of static keyboard layout, that even after manual switching (by hotkeys) to another, my layout continue to be the same. To fix this i need to do a lot of tries of win+space (my hotkey) and after 20-40 repeats it comes back to normal. Interesting fact: it does not depends on time. I could go afk for some time and nothing changes.

Without VSCode everything seems to work fine.

System:

Before writing question i've tried to install different verisons of VSCode, like insiders 1.69 or flatpak one. Nothing changes.


Solution

  • VS Code freezing was a nvidia issue. Keyboard layout stopped to be static after driver fix.

    I guess overriding was just my imagination.