[Bug]: Change appearance shortcut fails on macOS AZERTY (Option+Shift+Cmd+A)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 67/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- desktop, developer-experience
Direzione di ricerca
Inizia da apps/web/src/keybindings.ts ed esamina resolveEventKeys, che secondo la segnalazione ripiega su KeyboardEvent.code quando event.key non è una lettera latina. Aggiungi un test unitario per l’evento sintetico Option+Shift+Cmd descritto, con key "Æ" e code "KeyQ", quindi esegui i test pertinenti dei keybinding. Il lavoro è completato quando il tasto A del layout attivo attiva la scorciatoia di aspetto indicata senza compromettere il fallback esistente per i tasti fisici.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Use a MacBook Pro with a French AZERTY keyboard layout.
- Open T3 Code and keep focus outside the integrated terminal.
- Open the command palette and search for "Change appearance". It advertises Option+Shift+Cmd+A (⌥⇧⌘A).
- Close the palette and press that combination using the key labeled A on the AZERTY keyboard.
- Press it several times to distinguish a missed shortcut from a transition between System and the same effective light/dark mode.
Expected behavior
The advertised shortcut should cycle System → Light → Dark → System, using the A key from the active keyboard layout.
Actual behavior
The advertised shortcut does not appear to change the appearance on my MacBook Pro with an AZERTY keyboard.
Suspected cause (source inspection)
In apps/web/src/keybindings.ts, resolveEventKeys falls back to the letter in KeyboardEvent.code when event.key is not a Latin a–z character. Option can turn a letter into a symbol. On AZERTY, the key labeled A has code KeyQ, so this fallback can resolve it as q rather than a and miss the default mod+alt+shift+a binding.
For example, a synthetic event with key: "Æ", code: "KeyQ", metaKey: true, altKey: true and shiftKey: true exercises this mismatch. This is a unit-test input, not a captured keyboard-event log from my machine.
Related reports
- #2261: Option-modified letter shortcuts failing on macOS (closed).
- #4434 / #4469: Latin layout letters take precedence over physical positions, but the physical fallback remains for Option-generated symbols.
- #13229: the recorder displays US key positions for non-US punctuation (open); related layout handling, but a different symptom.
I did not find an existing report specifically covering Option-modified A on AZERTY for appearance.cycle.
Impact
Minor bug or occasional failure
Version or commit
Personal build based on upstream v0.0.45; shortcut matching inspected in the upstream source as well.
Environment
macOS, MacBook Pro, French AZERTY keyboard. macOS 26.7.1
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
Use the command palette → Change appearance and select a mode manually, or assign a shortcut without Option in Settings → Keybindings.
- Lingua principale
- TypeScript
- Stelle
- 24.8k
- Fork
- 6.4k
- Merge medio
- 7h 14m
- PR unite (30g)
- 201
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pingdotgg/t3code
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
pingdotgg/t3code#16096 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pingdotgg/t3code#16090 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: IntelliJ IDEA not detected on macOS when the Toolbox app bundle has a version in its nameForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
pingdotgg/t3code#15933 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pingdotgg/t3code
Issue simili
-
bot:ai-assisted status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
midnightntwrk/midnight-js#1424 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mksglu/context-mode#1268 ·
I maintainer di solito rispondono entro 5 giorni
-
[bug] Setup fails with "Cannot find matching keyid" when an older Node's corepack is on PATHForse già presa @EyalPoly l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
MystenLabs/MemWal#1124 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Edit:Apertacheck:failed streams:edit
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
iptv-org/iptv#54352 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno