coco
6 במאי, 2026, 11:32am
1
רושם כאן את הבעיה ואת פתרון העקיפה הזמני, כדי שיהיה קל למצוא אחר כך.
בעיה: ב-AltTab 10.12.0 על macOS 26.4.1 (25E253) / Apple Silicon, אם במערכת מופעלים רק מקור הקלט של WeChat IME / WeType פין-יין, האפליקציה נסגרת מיד בעת ההפעלה—אין חלון הגדרות וגם אין אייקון בשורת התפריטים. macOS יוצר דוח קריסה ל-AltTab.
דיווחתי גם למעלה ב-GitHub issue:
已打开 11:29AM - 06 May 26 UTC
**Describe the bug**
AltTab 10.12.0 crashes immediately on launch when the only… enabled keyboard input source is WeType Pinyin (`com.tencent.inputmethod.wetype.pinyin`). There is no settings window or menu bar icon; launching appears to do nothing, but macOS writes an `AltTab-*.ips` crash report.
Enabling the built-in U.S. keyboard layout (`com.apple.keylayout.US`) and selecting it makes AltTab launch successfully again. This looks related to shortcut/key equivalent initialization in ShortcutRecorder when no Apple ASCII-capable keyboard layout is enabled.
**Screenshots / video**
No screenshot: the app exits before any UI appears.
Relevant crash stack excerpt:
```text
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Faulting thread stack:
__CF_IS_OBJC
CFDataGetBytePtr
-[_SRKeyCodeTranslator translateKeyCode:implicitModifierFlags:explicitModifierFlags:usingCache:]
-[_SRKeyCodeASCIITranslator keyCodeForTranslation:]
__60-[SRASCIILiteralKeyCodeTransformer reverseTransformedValue:]_block_invoke
-[SRASCIILiteralKeyCodeTransformer reverseTransformedValue:]
+[SRShortcut shortcutWithKeyEquivalent:]
<AltTab frames>
```
**Steps to reproduce the bug**
1. On macOS, have WeType/微信输入法 installed.
2. Leave WeType Pinyin as the only enabled keyboard input source:
```text
AppleEnabledInputSources = (
{
"Bundle ID" = "com.tencent.inputmethod.wetype";
"Input Mode" = "com.tencent.inputmethod.wetype.pinyin";
InputSourceKind = "Input Mode";
},
{
"Bundle ID" = "com.apple.CharacterPaletteIM";
InputSourceKind = "Non Keyboard Input Method";
}
)
```
3. Launch AltTab 10.12.0.
4. AltTab exits immediately and macOS creates an `AltTab-*.ips` crash report.
5. Enable/select the built-in U.S. keyboard layout (`com.apple.keylayout.US`).
6. Launch AltTab again. It starts normally.
**Expected behavior**
AltTab should not crash if the current/enabled input source is an IME. If it needs an ASCII-capable keyboard layout to initialize default shortcuts, it should fall back safely or show a recoverable error.
**Your environment**
* AltTab version: 10.12.0
* macOS version: 26.4.1 (25E253)
* Architecture: Apple Silicon / arm64
* Input method: WeType / 微信输入法 Pinyin (`com.tencent.inputmethod.wetype.pinyin`)
* Workaround confirmed: enabling/selecting `com.apple.keylayout.US` lets AltTab launch
רמז מרכזי: מחסנית הקריסה נופלת במסלול פירוש קיצורי המקלדת של ShortcutRecorder:
EXC_BAD_ACCESS / SIGSEGV
CFDataGetBytePtr
-[_SRKeyCodeTranslator translateKeyCode:implicitModifierFlags:explicitModifierFlags:usingCache:]
-[_SRKeyCodeASCIITranslator keyCodeForTranslation:]
+[SRShortcut shortcutWithKeyEquivalent:]
מקורות הקלט שהיו פעילים אז בערך:
com.tencent.inputmethod.wetype.pinyin
com.apple.CharacterPaletteIM
פתרון זמני: להפעיל ולעבור לפריסת המקלדת המובנית של המערכת U.S. (com.apple.keylayout.US ), ואז AltTab עולה כרגיל. לאחר מכן אפשר להמשיך להשתמש בשיטת הקלט הסינית.
שלחתי גם במייל את אותו תקציר לתיבת התמיכה של AltTab.