forked from chatboxai/chatbox
-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Switch system keyboard to Dvorak or AZERTY layout
- Try using standard keyboard shortcuts (Ctrl+C, Ctrl+V, etc.)
- Shortcuts don't trigger expected actions
- Physical key locations differ from logical keys
Proposed Solution
Change shortcut detection to use:
- Logical key values instead of physical key codes
event.keyinstead ofevent.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
Labels
bugSomething isn't workingSomething isn't working