Describe the bug
As far as I can tell, Quartz hotkeys do not work when a keyboard layout is anything but English. I specifically wanted to open up the search bar by using Ctrl+K with a ukrainian keyboard layout, but it doesn't work at all.
The problem seems to be solved when changing "e.key === "k"" to "e.code === "KeyK"".
To Reproduce
Steps to reproduce the behavior:
- Change the keyboard layout to anything but English (apparently non-latin ones?).
- Try to press Ctrl+K.
Expected behavior
It should open up the search bar regardless of the keyboard layout.
Desktop (please complete the following information):
- Quartz Version: v4.5.2
node Version: v24.14.0
npm version: 11.9.0
- OS: Windows 11 25H2
- Browser: Zen Browser 1.19.8b
Describe the bug
As far as I can tell, Quartz hotkeys do not work when a keyboard layout is anything but English. I specifically wanted to open up the search bar by using Ctrl+K with a ukrainian keyboard layout, but it doesn't work at all.
The problem seems to be solved when changing "e.key === "k"" to "e.code === "KeyK"".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should open up the search bar regardless of the keyboard layout.
Desktop (please complete the following information):
nodeVersion: v24.14.0npmversion: 11.9.0