[Bug] Codex chat input sometimes becomes unresponsive after opening Codex from the pet icon
What version of the Codex App are you using (From “About Codex” dialog)?
Codex app version: 26.608.12217 Codex build: 3722 Codex CLI: 0.138.0-alpha.7
What subscription do you have?
When I open Codex by clicking the pet icon, the Codex chat dialog sometimes becomes unable to accept keyboard input. The input box is visible, but I cannot type into it. This happens intermittently and blocks me from starting or continuing a Codex conversation.
What platform is your computer?
_No response_
What issue are you seeing?
Title:
[Bug] Codex chat input sometimes becomes unresponsive after opening Codex from the pet icon
Description:
When I open Codex by clicking the pet icon, the Codex chat dialog sometimes becomes unable to accept keyboard input. The input box is visible, but I cannot type into it. This happens intermittently and blocks me from starting or continuing a Codex conversation.
Environment:
- Product: Codex App / Codex Desktop
- Codex version: Latest version
- OS: macOS 26.2
- Device: Mac
- Login method: ChatGPT account
Steps to reproduce:
- Launch the Codex app on macOS 26.2.
- Click the pet icon to open Codex.
- Wait for the Codex chat dialog to appear.
- Try to type in the input box.
Actual result:
The chat dialog opens, but the input box sometimes does not accept keyboard input. The cursor/input focus appears to be broken or not properly activated, so I cannot type or send a message.
Expected result:
After opening Codex from the pet icon, the chat input box should be focused or clickable, and users should be able to type normally.
Frequency:
Intermittent. It does not happen every time, but occurs often enough to affect normal usage.
Workaround:
Closing the Codex dialog and opening it again can restore the input box and allow typing again.
Impact:
This blocks normal usage because I cannot enter prompts after opening Codex. Although closing and reopening the dialog works as a workaround, it interrupts the workflow.
Additional issue:
I also tried to use the in-app /feedback command, but it did not show a clear submit button or feedback submission dialog. Instead, it looked like a normal Codex conversation that only generated a feedback draft. I could not confirm whether the feedback was actually submitted.
What steps can reproduce the bug?
Steps to reproduce:
- Launch the Codex app on macOS 26.2.
- Click the pet icon to open Codex.
- Wait for the Codex chat dialog to appear.
- Try to type in the input box.
What is the expected behavior?
Actual result:
The chat dialog opens, but the input box sometimes does not accept keyboard input. The cursor/input focus appears to be broken or not properly activated, so I cannot type or send a message.
Additional information
Additional issue:
I also tried to use the in-app /feedback command, but it did not show a clear submit button or feedback submission dialog. Instead, it looked like a normal Codex conversation that only generated a feedback draft. I could not confirm whether the feedback was actually submitted.
11 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Additional reproduction from another macOS environment.
When clicking the Codex pet / robot floating overlay to bring up the composer, the composer appears but cannot accept keyboard input.
Environment:
Observed behavior:
Steps to reproduce:
Expected behavior:
The composer opened from the pet floating overlay should receive keyboard focus and allow text input.
Actual behavior:
The composer appears, but keyboard input does not work.
Additional note:
Typing
/feedbackin the composer did not open a feedback dialog in this environment; it was sent as a normal message instead.I can reproduce a very similar issue, and filed #28929 before noticing this thread. Adding a few more details that may help narrow the focus/IME behavior:
codex-cli 0.140.0-alpha.19com.tencent.inputmethod.wetype.pinyin)This feels like the Codex window is activated, but the composer / macOS IME composition target is not fully restored when activation happens through the Pet. I am closing #28929 as a duplicate of this issue.
I can reproduce a similar issue on macOS.
Environment:
Observed behavior:
Expected behavior:
Possible cause:
Workaround:
Adding another data point with Korean IME on macOS. This looks closest to this issue rather than a general Korean-only IME issue, because the failure is most frequent when Codex is activated from the Pet entry point.
Environment:
26.609.71450(CFBundleVersion3965)Darwin 25.5.0 arm64 arm/Applications/Codex.appObserved behavior:
Likely trigger path:
Expected behavior:
Opening or activating Codex from the Pet should leave the main composer as a normal focused text input target, including Korean IME composition and commit support.
Workarounds observed:
I am not attaching logs/session IDs here because this is a public issue and local session content may contain private project/context data. The important added detail is the Pet activation path + Korean IME composition/commit symptom on
26.609.71450.Adding another current reproduction with a default pet and a focus clue that may help narrow the overlay handoff path.
Environment:
26.616.81150(CFBundleVersion4306)codex-cli:0.142.026.5.1build25F80arm64Observed sequence:
Tabhighlighted the pet resize/maximize/drag affordance in orange. PressingTabrepeatedly toggled focus/highlight on and off there, instead of moving focus into the main composer.Why this seems relevant:
Tabbehavior suggests keyboard focus was still in, or being routed through, the pet/avatar overlay controls after the background task completion/thread reactivation path.Expected behavior:
After returning to a thread whose queued tasks have completed, the main composer should be clickable/focusable and should accept typing. Pet overlay controls should not retain keyboard focus in a way that prevents the thread composer from becoming the active text input target.
No logs or session transcript attached because this is a public issue and the session may contain private project context.
Adding another macOS reproduction that looks consistent with the composer focus issue described here.
Environment:
26.623.31443(CFBundleVersion4441)26.5.1(25F80)x86_64/Applications/Codex.appObserved behavior:
Ask for follow-up changes), but the text caret is not visible and typing does not enter text.Why this seems related:
Expected behavior:
After a task completes and the composer shows
Ask for follow-up changes, clicking the composer should show the caret and allow typing without requiring an app restart.Screenshot was captured locally, but I am not attaching the full image here because it may include private workspace context. The visible symptom is simply an empty follow-up composer with no caret.
Adding a newer reproduction that changes the likely scope of this issue: the composer can still become unresponsive after Pets are disabled/tucked away.
Environment
26.4(25E246)arm6426.707.61608(CFBundleVersion 5200)26.707.71524(CFBundleVersion 5263)codex-cli 0.144.2Reproduction pattern
Local log correlation
For the latest occurrence (local time, UTC+8):
10:36:00: the background turn completed and a desktop completion notification was emitted.10:36:36: the primary Codex window was focused again. The renderer loggedResizeObserver loop completed with undelivered notifications.10:37:01: navigation switched away from the affected thread.10:38:28: navigation returned to the affected thread.10:38:56:turn/startsucceeded, confirming input had recovered after the thread navigation/reset.During this latest reproduction, the internal
avatarOverlayrenderer remainedFocused=false; it did not take focus. This suggests Pet focus stealing is not required to trigger the bug. The common pattern now looks more like a stale per-thread composer interaction state after a background turn completes. Navigating away and back appears to remount/resubscribe the thread view and clears the stuck state.A previous occurrence on
26.707.61608showed the same user-visible symptom and the same recovery after switching threads, although the avatar overlay did receive focus in that earlier occurrence.Expected behavior
After returning to a thread whose background turn has completed, the follow-up composer should immediately accept pointer focus and keyboard/IME input without requiring thread navigation or an app restart.
I am not attaching raw logs or session IDs because the local sessions may contain private workspace context.
Adding a current reproduction with direct focus/renderer evidence.
Environment
Codex Desktop:
26.707.72221(CFBundleVersion 5307)Bundled
codex-cli:0.144.2macOS:
26.5(25F71)Architecture: Apple Silicon /
arm64Keyboard layout: U.S.
Pet: custom
glyphpet; avatar overlay enabledReproduction
Step 1 — Restart Codex; typing works normally.
Step 2 — Send one message while the pet overlay is active.
Step 3 — After the turn, the main composer remains visible but will not accept keyboard input, even after clicking it. Voice input still works.
Step 4 — Restarting Codex clears the problem temporarily, but it recurs.
Step 5 — Bringing the main Settings window forward restores focus. Tucking away the pet is the current workaround.
Focus correlation captured during the failure
The desktop log reported the main and overlay windows in opposite focus states at the same time:
Primary:
rendererWindowAppearance=primary rendererWindowFocused=falseAvatar overlay:
rendererWindowAppearance=avatarOverlay rendererWindowFocused=trueThe persisted app state also showed
electron-avatar-overlay-open=true. The GPU service was using roughly 40% CPU during the occurrence; a short process sample was dominated byIOSurface/QuartzCore/ColorSynccomposition work. The primary renderer also emitted repeatedResizeObserver loop completed with undelivered notificationserrors while unfocused.Opening
codex://settingsimmediately changed the primary window torendererWindowFocused=true.I also inspected the current packaged desktop code. The avatar overlay’s keyboard-interaction path calls
app.focus({steal: true}), followed by the overlay window’sfocus()andwebContents.focus(). That appears consistent with the overlay retaining keyboard focus instead of returning it to the main composer.No raw logs or session IDs attached because they can contain private task context.
Additional workaround for the focus issue described above:
When the composer becomes unresponsive, clicking the pet once restores focus and makes the main composer accept keyboard input again.
This is currently the quickest recovery and avoids restarting Codex.
Adding a current macOS reproduction with a custom pet active.
Environment:
26.707.91948(CFBundleVersion5440)com.openai.codex26.5.2(build25F84)arm64Observed behavior:
I have not yet established whether the same symptom occurs with a built-in pet, so I am reporting the confirmed custom-pet case only.
Expected behavior:
I will add an update after comparing pet enabled versus tucked away, and custom versus built-in pet.