Skip to content

macOS: Chinese IME loses composer focus after activating Codex by clicking Pet #28929

Closed as duplicate

Description

@santosli

Summary

On macOS, activating the Codex app by clicking the Codex Pet can leave the message composer in a broken focus/IME state. The composer appears to receive some keyboard events, but Chinese IME text cannot be entered or committed, and the caret is not visible.

Environment

  • Platform: macOS 26.5.1 (Build 25F80)
  • Codex app bundled CLI: codex-cli 0.140.0-alpha.19
  • System codex --version: codex-cli 0.128.0
  • Input method: WeType / WeChat Input Pinyin (com.tencent.inputmethod.wetype.pinyin)
  • Feature involved: Codex Pets

Steps to reproduce

  1. Enable Codex Pet on macOS.
  2. Open a Codex thread with the message composer visible.
  3. Switch from Codex to another app.
  4. Click the Codex Pet to return to Codex.
  5. Try typing Chinese into the composer.

Actual behavior

  • The composer has no visible caret.
  • Chinese IME input cannot be entered or committed.
  • Numbers and symbols can still be typed.
  • Switching to another app and then back to Codex restores the composer/input state.

Expected behavior

Clicking the Codex Pet should fully activate the Codex window and restore composer focus, including the macOS IME composition target, so Chinese input works normally.

Workaround

Switching to another app and back to Codex restores input. Avoiding Pet-based activation also appears to avoid the issue.

Notes

No logs are attached because this appears to be a UI focus / IME activation issue and I do not want to include local session contents unnecessarily.

Activity

  1. added
    bug
    app
    on Jun 18, 2026
  2. santosli commented on Jun 19, 2026

    @santosli
    Author

    Closing this as a duplicate of #27583. The specific Chinese IME details from this report have been added there. Also related: #27525 and #27357.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugpets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions