Keybindings break with different keyboard layouts

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I press ctrl+/ with Russian keyboard layout to comment a line, I get “No code action available” from the Quick Fix command, which is bound to ctrl+. (00:00–00:05 in the video). I press only ctrl+/, but the Quick Fix action is triggered instead. Also, when this bug is active, ctrl+. does nothing.

In Keyboard Shortcuts, when I search for "ctrl+[Slash]", I get results for “ctrl + .” instead (00:07). But searching for "ctrl+/" gives a different result.

I think the issue is related to the Russian keyboard layout: the / key in the Russian layout produces .

When i change layout to English and unfocus an app the issue resolves itself
(and search for "ctrl+[Slash]" no longer works for some reason)

At 00:32 i change layout back to Russian but keybind works fine until i unfocus an app at 00:37

Steps to Reproduce

Change layout to Russian
Unfocus an app
Press ctrl+/

Screenshots / Screen Recordings

Operating System

Linux

Version Information

Version: 2.6.19
VSCode Version: 1.105.1
Commit: 224838f96445be37e3db643a163a817c15b36060
Date: 2026-03-12T04:07:27.435Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Linux x64 6.8.0-101-generic

Additional Information

I have Ubuntu 24.04.4 LTS with GNOME 46, Wayland

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report and the video.

This is a known Wayland issue. Chromium/Electron can handle key scan codes incorrectly when the app loses focus while a non-English keyboard layout is active. The physical position of the / key gets interpreted as the Russian layout ., which is why the hotkeys get swapped.

Workaround: run Cursor using the X11 backend:

cursor --ozone-platform=x11

This helped another user with a similar issue: Quick fix shortcut (ctrl+.) not working since cursor 2.4

To avoid typing the flag every time, you can add it to your .desktop file or a shell alias.

I’ll pass this info to the team. Let me know if the workaround helps.

With cursor --ozone-platform=x11bug is still there, but now i dont have to unfocus to trigger it. Immediately when i change to Russian, ctrl+/ stops working, and starts when i change to English