-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
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
- Set the operating system keyboard layout to Dvorak.
- Open Spacedrive.
- Try to use a shortcut, for example, Ctrl + P.
- 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.