After Laptop sleep/resume, Ctrl-Z and Ctrl-Y are swapped until IDEA restart

Answered

I'm using IDEA, CLion, WebStorm, and PyCharm (mostly IDEA) on Arch Linux with XFCE desktop and german keyboard layout (QWERTZ).

I recently noticed that after sleep and resume, Ctrl-Z and Ctrl-Y are swapped until IDE restart. At least IDEA and CLion are affected, haven't tested the other ones yet. Typing in z and y without Ctrl work as expected. I've also did a crosscheck with a few other programs (Geany, Firefox, Chromium, Thunderbird, SQuirreL SQL Client, ...) and none of them showed this behavior. Note: SQuirreL is also a Java application.

Before opening a bug, I would like to check if it can be solved via settings.

I've already checked if https://stackoverflow.com/questions/25509853/intellij-confuses-y-and-z applies, but it does not look so: 1) I'm not using KDE and 2) I have only "German" keyboard layout on my keyboard settings, no second option for switching.

Any ideas ?

 

0
2 comments

Might be related: https://youtrack.jetbrains.com/issue/IDEA-190278

Do you have Use national layout for shortcuts option enabled in Keymap settings? Does it help to toggle this option when issue happens?

0

It was off, switched it to on, looks like it helped. But I'd like to watch it for a while before I can say it's solved, as I also noticed that it does not happen always.

Thanks for the hint.

0

Please sign in to leave a comment.