[macOS Desktop] Computer Use leaves floating cursor overlays after tasks finish
What version of the Codex App are you using (From “About Codex” dialog)?
Installed desktop app bundle: 26.915.31029 (build 9771). The About dialog was not inspected.
What subscription do you have?
Not included.
What platform is your computer?
macOS 26.6.2, Apple Silicon (arm64).
What issue are you seeing?
After a Codex Computer Use task finishes, its visible floating/virtual mouse cursor can remain on the desktop instead of disappearing. The user has repeatedly seen this and has observed as many as three leftover floating cursors at once after Computer Use sessions.
The report concerns extra on-screen Computer Use cursor visuals, not the ordinary macOS system pointer and not merely a status icon inside Codex. Multiple stale pointers make it unclear whether Computer Use has really stopped and add distracting overlays to normal desktop work.
This is a user-observed recurring symptom. No screenshot, exact task IDs, cursor coordinates, controlled minimal reproduction, or evidence of post-completion input was captured for this report. We do not claim the stale visuals prove that an agent can still click or type. The cause could be overlay cleanup, session teardown, or another lifecycle component; it is not yet established.
What steps can reproduce the bug?
Observed pattern (not independently re-run in a controlled test):
- On macOS, let a Codex Desktop task use Computer Use so its virtual/floating cursor becomes visible.
- Allow the task to finish and return to the idle state.
- Inspect the desktop for a cursor overlay that remains after the task has ended.
- Repeat Computer Use tasks; up to three leftover floating cursors have been observed concurrently.
A maintainer test could compare successful completion, interruption, and failure, and check whether each session removes only its own cursor overlay while preserving other active sessions.
What is the expected behavior?
When a Computer Use session ends, its virtual cursor/overlay should disappear promptly and deterministically. Active concurrent sessions, if any, should remain distinguishable and unaffected. If the agent is still operating, the app should show that clearly rather than appearing finished.
Additional information
The official Computer Use documentation describes desktop interaction but does not explain lingering virtual-cursor overlays after task completion.
Related but distinct: #33748 reports a Computer Use icon in the app remaining while idle; #41868 reports a Chrome-tab control indicator remaining; #36958 reports a cursor remaining alongside continued external app input. This report is limited to multiple visible floating cursors after apparently completed tasks, without evidence of continued input.
No screenshots, private application content, task history, or logs are attached.
Additional macOS observation on 2026-10-02, with two details that may help investigate this:
- After a local Computer Use task completed and stopped, a small extra control cursor remained above a tab in a native application's window. The task was confirmed complete, but the cursor stayed visible.
- Starting a macOS screenshot made the cursor disappear, so a phone photo was needed to capture it.
- Fully quitting the Codex desktop app made the lingering cursor disappear. This was directly checked and confirmed.
Observed sequence: run a local Computer Use task, let it finish, then return to the affected application. The extra cursor remains until Codex is fully quit. This describes the observed incident; reproduction frequency is unknown and a controlled reproduction has not been run.
Environment: MacBook Air, macOS, Codex desktop. Exact macOS and Codex app versions were not collected.
Expected behavior: the task's cursor overlay should be removed when the Computer Use task ends, with a clear indication that control has been released.
The residual cursor makes the control state unclear. We have no evidence of continued mouse or keyboard input after task completion, and the underlying cause is unconfirmed.
No logs, session identifiers, or private application content are included. A phone photo exists; if needed, please point to an official private feedback channel where it can be reviewed/redacted before sharing.
Additional macOS observation (2026-10-03, JST): I see this almost every time I finish a Computer Use task, and have seen about four floating cursors left behind at once. Fully restarting the ChatGPT desktop app clears them. I have no evidence that the cursors continue to control the desktop after the task ends.
I've noticed this twice now since using computer use on macOS. Most recently today (Oct 9), the overlay stayed visible after the task had finished. Fully restarting the ChatGPT desktop app cleared it.
The latest task was in Dia, though I'm not sure the overlay was specific to that app. The previous occurrence seemed limited to Proton Mail, if I remember correctly. I'm also able to take a macOS screenshot with the cursor still visible in it.
Environment: ChatGPT desktop 26.1002.52244; macOS 26.6.2 (25G83).
Diagnostic detail: resetting the tool session with mcp__cua_repl.js_reset returned js kernel reset, but the visible overlay remained. No relevant teardown error was found in the app logs inspected for 17:22–17:26 UTC. This doesn't establish the cause.
Adding a concrete instance with diagnostics captured while the cursor was still stuck, since the original report notes that no logs or task details were captured.
Environment
- ChatGPT desktop 26.1007.30912 (build 20156), bundled
codex-cli 0.162.0-alpha.17.2 - Computer Use helper (
Codex Computer Use.app) 26.1005.1001425,unified-computer-useplugin 26.1007.30912 - macOS 27.0.1 (26A434), Apple Silicon
Timeline (local time, from the desktop log and the process list)
| Time | Event |
|---|---|
| 10:36:51 | A new thread starts. It runs on the hosted app-server (hostId=durable in the desktop log) with this Mac attached as its environment through codex exec-server --remote. |
| 10:37:02 | First cua_repl call. The helper spawns CUALockScreenGuardian and puts up its Software Cursor window (layer 102, 126×126). |
| 10:41:22 | The hosted app-server websocket closes (code=1006) and reconnects about 1 s later. A new cua_repl process starts at 10:41:27, and the one that began the session no longer exists. |
| 10:49:31 | Desktop log: [desktop-notifications] received turn-complete for that thread and turn. |
| 11:08 | 19 minutes later the Software Cursor window is still on screen and CUALockScreenGuardian is still running. |
State of SkyComputerUseService while stuck (from sample and the window list)
- 10–20% CPU with no task running.
- It still has AX notification observers and two event taps on the app it had been attached to (Google Chrome), a "Window Bounds Observer" thread, and live ScreenCaptureKit / CoreMedia capture threads.
So this is more than a leftover overlay: the helper still treats the session as active.
What did not clear it
Running the helper's own notifier by hand with the stuck turn's IDs:
SkyComputerUseClient turn-ended '{"type":"agent-turn-complete","thread-id":"…","turn-id":"…"}'
It exited 0 and nothing changed. I took the payload keys from the legacy notify format, so the shape may not be exactly what the helper expects.
What cleared it
kill -TERM on SkyComputerUseService. The cursor window disappeared and the guardian exited, without quitting the desktop app. For anyone else hitting this, pkill -TERM -x SkyComputerUseService is a lighter workaround than restarting the whole app.
Possibly relevant, from the shipped plugin and JS files (inference, not source)
- The
unified-computer-useplugin'sStop/Interrupt/SubagentStophooks callcua_repl.turn_ended. In the bundled@oai/skymacOS client (targets/mac/client.js), the only request types sent to the helper areAppPolicy,AppStart,AppGetSkyshot,AppPerformAction,ListAppsandStart/StopAudioRecording. The helper binary definesComputerUseIPCCodexTurnEndedRequest, but neither the bundled JS undercua_node/lib/node_modulesnor the desktop app bundle references it; the only sender I can find is theSkyComputerUseClient turn-endedCLI. The Windows helper transport does have anend_turncall. So on macOS I can't find a path fromcua_repl.turn_endedto the native helper. - The
notify = [SkyComputerUseClient, "turn-ended"]entry inconfig.tomlcan only fire for turns that the local core owns. This turn was owned by the hosted app-server. - For this thread the desktop app logged
thread/read→-32003 thread access denied(source=thread_hydration) five times, the first of them before the turn completed. The helper appears to learn about turn completion by following thread streams over the desktop IPC socket (CodexAppServerThreadEventObserver,thread-stream-state-changed,turn/completed). If the desktop app could not hydrate the hosted thread, the helper may never have seen it complete. I have not confirmed this.
This instance involved a hosted thread and a mid-turn reconnect. I don't know whether the purely local cases reported above share the same cause.
Suggestion
Whatever signal was missed, the helper could release a session (cursor, guardian, event taps, capture stream) when the client process that started it exits, or after a period with no requests for that turn.
I have the thread and turn IDs and the helper sample output if they would help; I left them out of a public comment.
A third-party-host POC added some boundary evidence for this cleanup problem.
Environment: Paseo 0.11.4 driving Codex CLI 0.162.1, Computer Use helper 26.1013.1001501, macOS 27.0.
I tried to determine whether a host could clean up the cursor by invoking the helper's turn-ended path directly:
- Direct
@oai/skynative-pipe client: connection established, then the helper closed it before the ping completed. - Official
SkyComputerUseClient mcp:initializeandtools/listworked, butlist_appsreturnedbootstrapTimedOut, including after settingCODEX_HOMEandSKY_CUA_SERVICE_PATH. - No
Software Cursorwindow was created, so turn-ended cleanup could not be validated. - No helper termination or production-code change was made.
This does not establish that turn-ended is ineffective. It shows that a standalone client cannot bootstrap the helper without the trusted Codex host/session context.
For a robust fix I would still key cursor ownership to the helper session and its owning process, so client exit or missed turn events cannot leave the overlay behind.
Retest on ChatGPT desktop 26.1021.31345 (build 21828), Computer Use helper 26.1021.1001631, macOS 27.0.1. The cursor overlay was cleaned up every time (window list sampled once per second, local time):
| Run | Overlay shown | Turn ended | Overlay gone |
|---|---|---|---|
| Calculator, normal finish | 14:36:44 | 14:36:46 | 14:36:47 |
| Calculator, interrupted with Stop mid-task | 14:37:20 | 14:38:08 | 14:38:09 |
| Chrome via computer use | 14:38:33 | 14:38:36 | 14:38:37 |
Each time the helper's 126×126 cursor window disappeared about 1 s after the turn ended, SkyComputerUseService went back to 0% CPU, and no CUALockScreenGuardian stayed running. An earlier Calculator run in the same app session was also clean 12 minutes later.
These were all local threads. My Oct 11 case was a hosted thread with a mid-turn reconnect, which I haven't been able to retest.
Observed again on November 1, 2026.
Environment: ChatGPT/Codex desktop 26.1027.51404 (build 23880), Computer Use helper 26.1022.1001641 (build 1001641), bundled CLI 0.166.0-alpha.5.1, macOS 27.0.1 (26A434), arm64. Versions read from installed bundle metadata.
A floating arrow remained after earlier desktop work. We verified:
CGWindowListCopyWindowInfolisted two windows namedSoftware Cursor, owned byChatGPT Computer Use/SkyComputerUseService. One was on-screen at layer 26; both were 126×126.- Sending
SIGTERMto that specific owning PID removed them. A second window-list query returned zeroSoftware Cursorwindows; ChatGPT stayed open.
The latest recorded CUA session was a local T3/Codex session whose final System Settings call failed, followed by thread completion. We have not proven that failure caused the stale cursor or captured the missing teardown event. Earlier chat history contains repeated user reports of the same symptom.
Please include failed-call and client-disconnect paths in cursor teardown tests. This confirms recurrence on the above versions, not continued input after completion.
GPT 6.1 sol on behalf of Aritra
Recurring Computer Use software-cursor overlay accumulation in ChatGPT Work, observed again on 2 November 2026.
Environment
- ChatGPT desktop / Work: 26.1027.51404
- Platform: macOS 27.0.1 (26A434).
Observed behavior
Multiple arrow-shaped Computer Use overlays with dark/glowing halos remain visible simultaneously at different screen positions. They overlap application content, including the regular Chat message composer, and obscure normal interaction.
This has occurred several times. Other Work tasks were still running during the reported occurrence, so restarting the desktop app or terminating the Computer Use helper would interrupt ongoing work.
Observed sequence
- Run ChatGPT Work tasks that use Computer Use.
- Return to the regular Chat view while Work tasks continue.
- Observe multiple persistent cursor overlays distributed across the window.
This is an intermittent user-observed sequence, not a controlled minimal reproduction. The number of active Computer Use sessions and the lifecycle state of the session responsible for each overlay were not recorded.
Expected lifecycle behavior
Cursor overlays should reflect current session activity. Obsolete overlays should be disposed of promptly, while overlays belonging to active sessions remain accurate and unaffected. Cleanup should not require restarting the app or terminating unrelated tasks.
Investigation / regression coverage
Please check per-session ownership and disposal of cursor overlay windows, including:
- Normal completion, cancellation/interruption, failed Computer Use calls, and client disconnect/reconnect.
- Concurrent sessions: ending one session should remove only its own overlay.
- Late asynchronous cursor updates: updates arriving after session teardown should not recreate an orphaned overlay.
These are investigation targets, not an established root cause. No process/window ownership inspection, teardown trace, or evidence of continued mouse/keyboard input was collected for this occurrence. The screenshot alone does not establish whether every overlay is stale.
No screenshots, logs, or private application content are attached.
I’m seeing this again on November 3, 2026. After asking the assistant to stop all computer use, a floating arrow-shaped cursor was still visible. This has happened to me more than once.
I haven’t confirmed whether the session was still active or if this was only a leftover visual. I have no evidence of continued mouse or keyboard input.
Expected: the cursor overlay should disappear promptly when computer use stops, so it’s clear that control has been released.
Reproduced on ChatGPT Desktop 26.1103.60933, macOS 27.3 (26C5035r), Apple silicon (arm64).
After the Computer Use task ended, its white floating cursor remained visible over Chrome. Resetting the Computer Use session did not clear it. The cursor was still visible in a user screenshot after the reset.
In Activity Monitor, I selected ChatGPT Computer Use and chose Quit. The native connection closed, and a separate process lookup confirmed that the original helper process had exited. The ChatGPT desktop app remained open.
Expected behavior: the floating cursor disappears when the Computer Use session ends. The underlying trigger was not established in this case.
On Nov 19, around 20:02 (UTC+8), I used Computer Use for a local task in the ChatGPT macOS app. I manually stopped Computer Use and released the window from the macOS menu bar. The translucent cursor remained visible and kept moving, including over another app. It only disappeared after I fully quit ChatGPT. I can confirm the visible cursor persisted, but not whether the app was still sending input. Could you also check cursor cleanup for the manual menu-bar release path?
Additional macOS reproduction on ChatGPT desktop 26.1111.71025, Computer Use helper 26.1111.1001923, macOS 27.0 (Apple silicon).
- macOS listed 15
Software Cursorwindows owned by a singleSkyComputerUseServiceprocess. Moving 14 of them off-screen via Accessibility cleared the desktop clutter, but the user still saw all 14 in Alt-Tab. The windows were still open. - Quitting only
SkyComputerUseServiceremoved every cursor window from the macOS window list while ChatGPT stayed open. That is a shared-process reset and could interrupt another agent’s live Computer Use session. - The installed plugin already declares per-agent end-of-turn notifications for normal completion, interruption, and subagent completion. We did not trace whether each lingering window’s session received its notification.
Could you make the helper close the actual cursor window for each finished agent, so it disappears from both the desktop and Alt-Tab without disturbing other agents? A regression test could run two concurrent sessions, end one, and verify its window is gone while the second session can still operate. Please cover normal completion, cancellation, failure, and disconnect.
Additional report from a Mac user running ChatGPT desktop 26.1117.41037 (29803), with Computer Use helper 26.1116.1001980, on macOS 27.2.1 (26B131), Apple silicon. These are the installed versions at the time of reporting.
The user reports that after a Computer Use task delivers its final reply, the separate floating pointer continues moving around the desktop. They estimate this happens after almost every Computer Use session. The movement makes it difficult to tell when control of the Mac has been released. Continued clicks or keystrokes have not been verified.
Please test several consecutive sessions through the normal final-reply path. After each task ends, please verify that its cursor disappears and its input stops, including when a second Computer Use session is running.
I hit this on macOS too. The white arrow with a dark glow stayed fixed in one spot and appeared on top of every app I switched to. It was persistent enough that really didn't know what was going on. Running pkill -TERM -x SkyComputerUseService cleared it immediately.