Skip to content

[Bug] Keyboard shortcuts follow QWERTY layout instead of active Dvorak layout #2924

@killmeknou

Description

@killmeknou

Check for other issues

  • I've checked for other issues, and none exist.

Issue description

When using the Dvorak keyboard layout, Spacedrive incorrectly identifies keyboard shortcuts based on the physical QWERTY positions rather than the actual characters mapped by the OS.

For example, to open the Command Palette (intended shortcut: Ctrl + P), I have to press the physical key where 'R' is located on a QWERTY keyboard (which is where 'P' is located in Dvorak). If I press the physical key labeled 'P' (which is 'L' in Dvorak), the shortcut does not trigger as expected.

Steps to reproduce

  1. Set the operating system keyboard layout to Dvorak.
  2. Open Spacedrive.
  3. Try to use a shortcut, for example, Ctrl + P.
  4. Observe that the shortcut only triggers when pressing the physical QWERTY 'P' key position, rather than the Dvorak 'P' key.

Platform and versions

OS: Windows 11Pro 25H2 (OS Build 26200.7462)

Spacedrive Version: 0.4.3

Keyboard Layout: English United States - Dvorak

Stack trace

Additional context

This issue is common in cross-platform frameworks (like Tauri/Wry) when they capture code (physical position) instead of key (logical character). It makes the app very difficult to use for users with alternative layouts like Dvorak or Colemak.

Keyboard shortcuts should respect the active system input method (Dvorak) and map to the correct characters accordingly.

Code of Conduct

  • I agree to follow the Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions