[App][macOS] Chinese IME input intermittently stops working until ⌘R reload

Open 💬 2 comments Opened Jul 10, 2026 by yuanyuanlove
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Summary

On the Codex desktop app for macOS, Chinese IME composition intermittently stops working in the message composer. The input field still appears focused, but Chinese text cannot be entered.

Reloading the Codex window with ⌘R immediately restores Chinese input.

Environment

  • Product: Codex desktop app
  • OS: macOS
  • Input method: Chinese IME (exact provider not yet isolated)
  • App version: Not recorded
  • Language/locale: Not recorded

Steps to reproduce

  1. Open the Codex desktop app on macOS.
  2. Focus the message composer.
  3. Switch to a Chinese input method.
  4. Try to type Chinese text.
  5. Observe that Chinese text cannot be composed or entered.
  6. Press ⌘R to reload the window.
  7. Try again.

Expected behavior

Chinese IME composition and text input should continue working normally in the Codex composer without requiring a reload.

Actual behavior

Chinese input intermittently stops working. Reloading the window with ⌘R restores it.

Workaround

Press ⌘R to reload the Codex window.

The issue appears specific to the Codex composer; the exact trigger and whether it affects all Chinese IMEs are not yet known.

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 1 month ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #30664

Powered by Codex Action

WhatsupAdkins · 1 month ago

I can reproduce this issue on macOS, with additional symptoms and a live process sample captured while the failure was active.

Environment

  • Codex desktop app: 26.707.71524 (build 5263)
  • macOS 26.5 (25F71), Apple Silicon
  • Codex Framework: 150.0.7871.115
  • Apple Simplified Chinese IME (com.apple.inputmethod.SCIM)

Observed behavior

  • After a turn completes, Chinese IME composition stops working in the composer.
  • ASCII/English typing still works.
  • Copy and paste inside the app also stop working at the same time.
  • The state can recover by itself after roughly one minute.
  • During this occurrence, the app had been running for approximately 22.5 hours. The renderer footprint was 1.2 GB, with a 1.3 GB peak.

Live sample captured during the failure

The ChatGPT/Codex main process handled the key event through:

TSMProcessRawKeyEventWithOptionsAndCompletionHandler
→ NSTextInputContext handleTSMEvent
→ IMKInputSessionProcessEventRefWithCompletionHandler
→ IMKInputSessionXPCInvocation_Modern invocationAwaitXPCReply
→ HIRunLoopSemaphore wait

At the same time:

  • the renderer was waiting rather than CPU-spinning;
  • SCIM_Extension was idle in its XPC/AppKit run loop;
  • the macOS pboard process appeared idle and healthy;
  • no obvious renderer or IME error appeared in the unified logs.

This looks like a stale or broken IME XPC/native first-responder session in the app, rather than a keyboard hardware problem or a system-wide clipboard failure. Copy/paste failing alongside Chinese composition may be an important clue that the failure affects the native responder path more broadly.

I captured sample reports for the main process, renderer, GPU process, SCIM extension, and pboard. I can provide sanitized excerpts if useful.