[macOS][26.908.40834] Pet overlay stays above all windows but ignores mouse input and cannot be moved or hidden
Environment
- ChatGPT/Codex Desktop:
26.908.40834(CFBundleVersion8881) - Bundle identifier:
com.openai.codex - Bundled
codex-cli:0.154.0-alpha.6.2 - macOS:
15.7.4(build24G517) - Architecture:
arm64
Issue
After updating to this app build, the floating Codex Pet remains above every application window and interface, but it completely ignores mouse input. It cannot be clicked or right-clicked, dragged/repositioned, or hidden/tucked away through the normal controls. The Pet continues displaying/working and obstructs screen content while the user has no effective way to stop or remove it.
This is a regression observed after the latest installed update on this system.
Steps to reproduce
- Have a Codex Pet enabled, then update to or launch ChatGPT/Codex Desktop
26.908.40834. - Let the floating Pet overlay appear.
- Switch between Codex and other macOS application windows.
- Try to click or right-click the Pet.
- Try to drag it to another position.
- Try to hide/tuck away the Pet using the normal Pet controls.
Actual behavior
The Pet remains always on top across application windows, does not accept mouse interaction, cannot be moved, and cannot be hidden through the normal UI.
Expected behavior
The Pet should accept pointer input, be draggable, and be removable through the documented Hide/Tuck Away controls. It must not leave the user with an unmanageable always-on-top overlay.
Impact
The persistent overlay obscures content in every application and cannot be managed or dismissed, significantly disrupting normal desktop work.
Related issues searched
I searched both open and closed issues and did not find an exact duplicate. Related but distinct:
- #25695: macOS overlay hit area blocks clicks in underlying windows, rather than the Pet itself becoming entirely non-interactive and impossible to hide.
- #41920: Windows custom Pet reacts to input but cannot be dragged; this report is macOS and the Pet ignores all mouse interaction and cannot be hidden.
I can reproduce this issue on the latest Codex/ChatGPT macOS desktop release.
Environment:
- Codex/ChatGPT Desktop: [version from About Codex]
- macOS: [macOS version]
- Architecture: Apple Silicon
In my case, the Pet works normally at first. After the app has been running for a longer period of time, the Pet eventually stops accepting mouse input.
When this happens:
- The Pet is still visible and continues displaying normally.
- Clicking or right-clicking it does nothing.
- It cannot be dragged.
- The problem persists until the Codex desktop app / Pet overlay is restarted.
Updating to the latest available version has not resolved the issue.
This looks like the Pet overlay remains alive visually, while its mouse input / hit-testing state becomes invalid after prolonged runtime.
It would also be very helpful to have a “Reset/Recreate Pet Overlay” recovery action so users do not need to restart the entire Codex desktop app when this happens.
I can reproduce a related failure on Codex/ChatGPT Desktop 26.928.31416 (build 12553), macOS 26.6.2 arm64, with a custom pet.
Unlike a fully click-through overlay, the native drag handler receives the gesture:
[avatar-overlay] Native pet window drag handoff driver=appkit-events started=true
[avatar-overlay] Native pet window drag finished reason=released
However, the pet remains in the same position. Hiding/waking it with /pet, reselecting the pet, and using the documented keyboard movement followed by Escape did not restore movement. A full application restart was required.
The app currently reports 26.930.21537 as available; this newer build has not yet been tested.
Please consider adding a “Reset/Recreate Pet Overlay” action so recovery does not require restarting the entire app.
Additional diagnostic evidence for #45397: macOS pet stops moving; full app restart is the only reported recovery.
Why
The floating blue pet became impossible to reposition. The user reports that only fully quitting and reopening the desktop app restores movement. This interrupts normal desktop work when the overlay obscures content.
This appears related to the existing report and its restart-only recovery comments. The exact input failure mode in this incident is not yet known: inability to drag does not establish that every click or right-click is ignored.
What
Read-only investigation of installed app metadata, the two desktop log streams for 2026-10-04, persisted pet placement, and relevant functions in the installed JavaScript bundle. No app files, settings, or source code were changed.
Environment:
- ChatGPT/Codex desktop app: 26.928.21956, build 12404, bundle identifier com.openai.codex.
- macOS: 14.6 (23G80), Apple Silicon arm64.
- Built-in blue pet with floating quick-chat controls.
- Incident screenshot: 2026-10-04 22:56:38 Asia/Shanghai (UTC+08:00).
- Persisted pet settings: isFreelyPositioned=true, snapPosition=null. These settings do not prove the live native window/input state.
Design
Expected behavior: moving, resizing, reconnecting displays, and sleep/wake should preserve usable mouse input and dragging. Recovery should not require restarting the whole application.
An investigation candidate is deferred pointer-policy reconciliation during display changes. Review the interaction between setPointerInteraction, rememberMovedWindow, clearMovedWindowPersist, and handleDisplayChanged. Ensure cancellation of deferred work cannot strand pending input or layout state. A reset/recreate-overlay recovery action would also help.
This is a suggested investigation, not an implemented or verified fix.
Thinking
In the inspected installed bundle:
- rememberMovedWindow schedules a 100 ms callback that includes applyPointerInteractivityPolicy.
- setPointerInteraction updates pointerInteractive but defers applying the policy while movedWindowPersistTimer is pending.
- handleDisplayChanged cancels that timer and clears hasDeferredLayout. Its direct recovery path does not explicitly apply the pointer-interactivity policy.
- Layout recalculation and sending layout to the renderer do not directly guarantee a new pointer-interaction message; layout sends are deduplicated.
An offline check using the installed method bodies and mocked OS/window dependencies confirms that cancellation can leave a deferred pointer-policy change unapplied on the mouse-passthrough fallback path. A later pointer-interaction message reconciles it. Native input-shape support and renderer/window callbacks were not reproduced, so this does NOT establish the root cause or persistence of the live failure.
The application also retains the Quick Chat renderer in some hide/close paths. This gives a possible explanation for why hiding and waking might not clear a stale renderer/native state, but the precise hide/wake sequence was not instrumented here.
Result
Observed/reported behavior: pet remains visible, cannot be moved; full application restart restores movement according to the user. Independent live reproduction has not been performed.
The main log contains these entries (UTC):
2026-10-04T08:15:40.106Z info [avatar-overlay] Discarding pending pet move for display change
2026-10-04T14:51:20.847Z info [avatar-overlay] Discarding pending pet move for display change
2026-10-04T14:55:11.051Z info [AppServerConnection] app_server_connection.closed code=1006 connectionId=<redacted> failureReason=pong_timeout hasReason=false hostKind=durable reason="" signal=null transport=websocket
2026-10-04T14:55:11.777Z info [avatar-overlay] Discarding pending pet move for display change
2026-10-04T14:55:11.803Z info [avatar-overlay] Discarding pending pet move for display change
2026-10-04T14:55:12.058Z info [AppServerConnection] app_server_connection.reconnect_started hostId=durable reconnectAttempt=1 trigger=timer
2026-10-04T14:55:14.239Z info [AppServerConnection] initialize_handshake_result durationMs=339 initializeRequestId=__codex_initialize__ outcome=success transportKind=websocket
The two display-change entries at 14:55:11Z correspond to 22:55:11 local time, about 86 seconds before the screenshot. That establishes timing, not causation. “Discarding pending pet move” concerns deferred movement bookkeeping, not proof that an active pointer drag was cancelled; the inspected handler takes a different branch when dragState is non-null.
A WebSocket pong timeout occurred at the same time, followed by a successful reconnect at 14:55:14Z. Pet movement is handled locally, so this is contextual evidence rather than proof of a network cause.
No native pet drag handoff/finished entries or explicit renderer-unresponsive/render-process-gone entries were found in the two inspected log streams. Absence of native handoff entries is not proof of absent pointer input: some paths do not use native handoff and the current logs do not trace every drag transition.
Offline diagnostic checks passed:
- Normal move-settle callback applies the deferred pointer policy.
- Display-change cancellation can leave it unapplied in the isolated fallback-path fixture.
- A subsequent pointer-interaction message reconciles it.
No product fix has been tested.
Trade-offs
Evidence is limited to ordinary logs, persisted settings, and isolated control-flow checks. The screen-change event payload, actual input-shape support, current mouse passthrough, pointer capture, and native drag state were unavailable. Precise display/sleep/meeting triggers remain unconfirmed.
Only a small sanitized log excerpt is included. No raw session transcripts, account identifiers, workspace paths, or screenshots of unrelated apps are attached.
Follow-up
Please capture, while the pet is stuck:
- display-change event type and old/new bounds, work area, scale factor, rotation;
- pointerInteractive, mousePassthroughMode, supportsInputShape, inputShape;
- movedWindowPersistTimer, hasDeferredLayout, dragState and nativeWindowDragActive;
- nativeWindowDragTargetRegistered, isSuspended, layoutMode and rendererReady;
- drag start/move/end/cancel and native-handoff outcomes.
The installed app contains an optional native-pet-state.json feedback export, but the inspected serializer omits several pointer/drag fields listed above. That diagnostic was not captured or uploaded in this investigation.
Test rapid display/work-area changes during the movement-settle interval, sleep/wake, and screen-sharing transitions. Compare no-change, change-before-timer, and subsequent-pointer-message recovery paths on real macOS input-shape and fallback paths. Do not treat a mocked control-flow check as an end-to-end reproduction.
Follow-up investigation on 2026-10-04: symptom clarification and confirmed sleep/display-transition timeline.
Why
Further user testing narrows this incident: hover behavior and the right-click menu work; dragging alone fails. Pressing and dragging the pet body produces neither position changes nor a reported movement animation. This differs from an overlay that ignores all mouse input.
What
Read additional macOS powerd/WindowServer logs and traced the installed renderer drag entry, main-process handoff, and native sky.node adapter. No app modification or live-process injection was performed. Public code and PR searches did not locate an accessible desktop overlay implementation or a matching drag-fix PR.
Design
Triage this as a left-button drag pipeline failure after a sleep/display transition. The earlier deferred mouse-policy candidate should be deprioritized because hover and context-menu input remain functional.
Thinking
The renderer rejects drag starts for non-left buttons, Control-modified events, or targets inside .no-drag, then acquires pointer capture. Move messages require a coordinate delta above a threshold. The user tried pressing/releasing Control and dragging again; it did not restore movement, so that experiment gives no support for the modifier-state candidate.
In the installed main process, native handoff emits an info-level “Native pet window drag handoff” record; none was found through the latest attempts. However, the app has legitimate paths that skip native handoff, including macOS multi-display Quick Chat. This absence cannot locate the failure by itself.
Read-only inspection found additional diagnostic gaps: native drag wrappers catch exceptions without recording their cause; the native active check observes target/active/button state rather than actual movement progress. An isolated test confirms that a native driver reporting success suppresses renderer fallback even if the mocked driver does not move. That artificial test does not establish that the native path was used here.
Result
The system log provides a confirmed local event sequence (Asia/Shanghai, UTC+08:00):
2026-10-04 22:51:37.193 powerd: Entering Sleep state due to 'Notification Wake Back to Sleep'
2026-10-04 22:55:11.045 powerd: ClamshellState. Closed : 0
2026-10-04 22:55:11.281 powerd: Wake from Deep Idle; reason includes lid/UserActivity
2026-10-04 22:55:11.367 WindowServer: display 0x1 added and marked main; display 0x9 removed
2026-10-04 22:55:11.777 app: [avatar-overlay] Discarding pending pet move for display change
2026-10-04 22:55:11.803 app: [avatar-overlay] Discarding pending pet move for display change
Thus the display-change records are associated with an actual lid-open wake and a main-display reconfiguration, rather than an unverified meeting/screen-sharing guess. The screenshot showing the pet at the upper-right edge was taken about 86 seconds later.
The user confirms hover/right-click work and dragging remains ineffective after the Control experiment. The exact instant the fault started and deterministic reproduction have not been established. No product fix has been validated.
Trade-offs
The earlier mocked timer-cancellation test demonstrates a possible control-flow gap, not this incident's cause. The new input observations reduce its priority. The absence of a movement animation is not a strict event breakpoint because vertical gestures and presentation/animation modes can affect that signal.
Follow-up
Please instrument drag-start rejection reasons (button, modifier, .no-drag), pointer-capture success/failure and lost capture, move deltas, IPC start/move/end receipt, and native handoff outcomes/window-bounds progress. Compare these before and after lid-open wake with display removal/addition. Capture the live input-shape and native-window state while hover and context menus still work. This should distinguish a renderer gesture/capture failure from handoff or geometry failure without treating speculation as a root cause.
Confirmed a similar failure on macOS with ChatGPT/Codex Desktop 26.1007.30912: the pet was visible but could not be clicked or dragged. Option–Space opened the text box below it, but the text box would not accept typing or clicks.
Fully quitting and reopening the desktop app restored clicking and dragging. For anyone trying this recovery: quit the application completely with Command–Q, then relaunch it; closing its window alone is not the same step.
A custom Show pet shortcut (Control–Option–Command–P) also worked afterward. The shortcut was remapped before restarting, so these changes were not tested independently. This does not establish that remapping alone repairs the input failure, or that the issue is permanently fixed.
The normal Show pet shortcut shows/focuses Quick Chat; it is not a hide toggle. The official Pets guide documents hiding with /pet or Hide pet.
Adding another vote for a keyboard-accessible Reset/Recreate Pet Overlay action, so users can recover without restarting the whole app. No verified root cause or permanent fix identified here.
Still reproducing on macOS as of October 25, 2026, with a built-in pet.
Environment
- ChatGPT/Codex Desktop
26.1021.31345(build21828, production channel) - macOS
27.0.1(26A434), Apple Silicon / arm64 - Built-in pet: Seedy
- The app's update checker currently reports no available update for this installation.
Observed behavior The pet works initially, then stops accepting mouse input after the app has been running for a while. I have not identified a consistent trigger.
When affected:
- The pet's animation continues normally.
- Clicking the visible pet passes through to the window or desktop underneath.
- The pet cannot be clicked or dragged, while the main app window remains responsive.
- Changing Pet size in the main app visibly changes the pet's size, but it remains click-through.
Recovery attempts
- Hiding and showing the pet with
/pet: no recovery. - Reselecting Seedy: no recovery.
- Changing Pet size: no recovery, despite the visible size change.
- Fully quitting and relaunching the application: temporary recovery, but the problem recurs.
Local logs also show the avatarOverlay renderer continuing to process messages after the input failure was reported. This seems to be an input/hit-testing failure rather than a stopped animation, but the live native input-region and mouse-passthrough state have not been captured, so the root cause is not confirmed.
Please investigate the overlay's input-region / mouse-passthrough state synchronization. A Reset/Recreate Pet Overlay action that does not restart the whole app would also help with recovery. No application bundle patch was applied, and no raw logs or account/session data are attached.
I'm seeing the pet stop responding to clicks again on macOS today (October 30, 2026). This has happened before, so I wanted to add another report of the recurring click-input symptom here.
I haven't verified the exact app build, trigger, or recovery steps for this occurrence, and I'm not claiming that the underlying cause is the same.
I can reproduce the floating pet becoming non-interactive on macOS. The blue built-in pet remains visible, but clicking and right-clicking it do nothing, and it cannot be dragged. The user has restarted the desktop app once and the problem still occurs.
Environment: ChatGPT/Codex desktop app 26.1027.61615; macOS 26.7.2 (25G332). The exact trigger is unknown. /pet hide/show does not change the behavior.
Additional report of the pet overlay becoming non-interactive on macOS.
Environment
- ChatGPT/Codex desktop app: 26.1027.61615 (build 24141).
- macOS: 15.7.3.
Symptoms and attempted workarounds
- The floating pet is stuck in the middle of the screen and cannot be clicked or dragged to the bottom-right corner.
- The control bar beneath the pet also does not accept clicks or dragging.
/petsuccessfully hides and shows the pet, but mouse interaction remains broken afterward.
Expected behavior The pet and its control bar should respond to clicks, and the overlay should be draggable. A reset-position or recreate-overlay action accessible from the main app would provide a recovery path when the overlay itself cannot be clicked.
The trigger and root cause have not been established.
Reproduced again on macOS 15.6.1 (24G90, Apple silicon) with ChatGPT/Codex Desktop 26.1106.51428 (build 26605). My custom pet (ZOA) remains visible but stops responding to clicks and drags, while the main app remains usable. In the affected session, the avatarOverlay renderer continues to process messages and reports rendererWindowVisible=true.
Fully quitting and reopening the app has only restored interaction temporarily; the failure keeps recurring. Hiding/showing the Pet, reselecting it, and updating the app have not provided a lasting fix. The custom pet sprite sheet has validated successfully. This seems consistent with an overlay input/hit-testing issue, but the exact trigger and native window state are unconfirmed.
Please investigate this recurring macOS failure and consider a way to reset/recreate the Pet overlay without restarting the whole app. I am not attaching raw logs or personal file paths.
补充一例可能相关的 macOS 桌宠交互问题,反馈来自受影响用户:
- 应用:ChatGPT/Codex 桌面版 26.1111.21308(构建 27194)
- 系统:macOS 15.1(24B2082),Apple Silicon(arm64)
- 使用自定义桌宠「GPT 娘」时,用户报告桌宠无法点击或拖动。
- 用户在设置中切换到内置宠物后,再切换回「GPT 娘」,报告点击与拖动恢复正常。
预期:桌宠持续响应点击和拖动;实际:曾出现无法点击和拖动的情况,切换宠物后恢复。
目前没有确定复现步骤、触发条件或根因,也未采集日志;尚不能确定是否与本 issue 的根因相同。
Additional report as of November 24, 2026: the floating desktop pet cannot be moved/repositioned by the user on macOS (Apple Silicon / arm64) with ChatGPT/Codex Desktop 26.1117.41037 (version reported by the running client).
Observed trigger: this happens when the user opens several application windows. With multiple windows open, the pet becomes non-draggable.
Expected: the pet can be dragged to another location on the screen, even with several windows open. Actual: the user reports being unable to move the pet when several windows are open.
Whether clicks or right-clicks also fail, whether quitting and relaunching restores dragging, and the exact number or type of windows required have not yet been established. Reporting here rather than creating a duplicate, since the inability to reposition the pet matches the symptom described in this issue.