Files
orca/src/shared
Brennan Benson 640f67d970 Fix Ctrl+C and other Mod-letter shortcuts on non-Latin keyboard layouts (#6534)
Fixes #6274.

Non-Latin layouts (Cyrillic, Greek, ABNT2, …) report a non-Latin logical `event.key` for physical letter keys (physical `KeyC` → `с`) while `event.code` stays `KeyC`. The shortcut matcher only fell back to the physical code when `event.key` was empty/Dead/Unidentified, so Mod+letter/digit chords never matched on those layouts — Ctrl+C copy in Monaco Source mode appeared to do nothing and the chord could not even be rebound in Settings.

Adds a tightly-gated non-Latin physical-code fallback (non-macOS, real Ctrl/Meta modifier held, excludes AltGr/Ctrl+Alt composition, only when no logical Latin token exists). Verified: full keybindings suite (55 tests) + targeted Cyrillic/Greek/AltGr/wrong-key cases pass; web + node typecheck clean.
2026-06-27 22:26:09 -07:00
..
2026-06-24 19:26:50 -07:00
2026-05-31 05:55:04 -07:00
2026-05-30 11:05:58 -07:00