[Bug]: Change appearance shortcut fails on macOS AZERTY (Option+Shift+Cmd+A)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 67/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- desktop, developer-experience
Hướng nghiên cứu
Bắt đầu tại apps/web/src/keybindings.ts và kiểm tra resolveEventKeys, hàm mà báo cáo cho biết sẽ dự phòng bằng KeyboardEvent.code khi event.key không phải là chữ cái Latin. Thêm một kiểm thử đơn vị cho sự kiện Option+Shift+Cmd tổng hợp được mô tả, với key "Æ" và code "KeyQ", sau đó chạy các kiểm thử keybinding liên quan. Công việc được xem là hoàn tất khi phím A của bố cục đang hoạt động kích hoạt phím tắt giao diện được công bố mà không làm hỏng cơ chế dự phòng hiện có cho phím vật lý.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 10 giờ 25 phút
- Pull request đã merge (30 ngày)
- 113
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
[Bug]: Redesign tab bars ignore clicks on Linux: hidden chat layers keep window drag regionsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs more info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
pingdotgg/t3code#31519 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Opening a file on Windows spawns powershell -EncodedCommand, which AVG and Avast block as malwareCó thể đã có người làm @juliusmarminge đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
pingdotgg/t3code#30954 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs more info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
pingdotgg/t3code#30685 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
pingdotgg/t3code#30228 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
test-reliability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Azure/azure-sdk-for-js#40672 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
HarperFast/studio#2067 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
liberation-data/drivine#639 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày