[Windows] Global dictation cannot save Ctrl+Win+Z with the Russian keyboard layout
Environment
- ChatGPT/Codex desktop 26.1111.2228.0 (Microsoft Store)
- Windows 11 x64, build 26340
- US English and standard Russian keyboard layouts
Steps to reproduce
- In Settings → Dictation, assign the hold-to-dictate shortcut to Ctrl+Win+Z with the US English layout active.
- Switch the Windows input layout to Russian.
- Edit the shortcut and press the same physical Ctrl+Win+Z/Я combination.
Actual behavior
The app displays Unable to register global dictation hotkey: Ctrl+Command+Я. The existing Ctrl+Win+Z assignment remains in place.
Expected behavior
The editor should recognize the same physical shortcut under both layouts and either keep the existing binding or save it successfully when it is unassigned.
Technical observation
On this PC, Windows maps physical scan code 0x2C to VK_Z (0x5A) under both layouts. The Russian capture reaches global shortcut registration as the localized character Я. Consider normalizing letter shortcuts to a supported physical key code before registration on Windows, and testing capture with both input layouts.
Related to #48861, which tracks the separate failure to paste a successfully transcribed result into VS Code.