Skip to content

Issue #5 - [BUG] Keyboard shortcuts broken on non-QWERTY layouts #9

@zenocross

Description

@zenocross

Description

Keyboard shortcuts don't work correctly on Dvorak and other non-QWERTY keyboard layouts because they rely on physical key positions instead of logical key mappings.

Current Behavior

  • Shortcuts use physical key codes
  • Shortcuts don't work as expected on Dvorak, AZERTY, etc.
  • Users with alternative layouts can't use keyboard shortcuts effectively

Expected Behavior

  • Shortcuts work consistently across all keyboard layouts
  • Use logical keys (what the user types) instead of physical keys
  • Same shortcut combinations work regardless of layout

Steps to Reproduce

  1. Switch system keyboard to Dvorak or AZERTY layout
  2. Try using standard keyboard shortcuts (Ctrl+C, Ctrl+V, etc.)
  3. Shortcuts don't trigger expected actions
  4. Physical key locations differ from logical keys

Proposed Solution

Change shortcut detection to use:

  • Logical key values instead of physical key codes
  • event.key instead of event.code
  • Layout-independent shortcut handling

Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions