Skip to content

Hotkeys on various keyboard layouts #2378

@WestRane

Description

@WestRane

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:

  1. Change the keyboard layout to anything but English (apparently non-latin ones?).
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions