codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows Computer Use: capture access and gold/yellow display border remain open after screenshot-producing turn completes

Open americanmademischief opened this issue 1 month ago • 92 comments

What version of the Codex App are you using (From “About Codex” dialog)?

Incident package: OpenAI.Codex 26.1021.3705.0, Windows x64 MSIX. This version was obtained from the installed package path, not the About dialog. Computer Use / unified-computer-use plugin: 26.1021.31345. Bundled CUA runtime directory identifier: 1fb7137c46617d50.

What subscription do you have?

Not collected for this report.

What platform is your computer?

Windows x64, OS-reported version Microsoft Windows 10.0.26200.

What issue are you seeing?

A gold/yellow border remained around the user's display after a Codex chat had finished its native desktop capture work. Investigation found the Windows Computer Use helper still running and its Windows capture-access record still open approximately five hours after the screenshot-producing turn completed.

The request is for capture resources to be released when their owning work ends, while preserving Computer Use for other chats that actually need it.

Verified incident timeline

Times below are UTC, with America/New_York (UTC-04:00) equivalents. Incident date was October 25, 2026 locally.

UTC Local time Evidence
2026-10-25 19:58:05.097 Oct 25, 15:58:05 The originating chat called driveClient.getScreenshot() on a Google Drive desktop window during an authorized backup/restore verification.
2026-10-25 19:58:07.456 Oct 25, 15:58:07 Windows CapabilityAccessManager's entry for this helper records capture-access start.
2026-10-25 20:02:51.338 Oct 25, 16:02:51 Another driveClient.getScreenshot() call occurred in the same turn.
2026-10-25 20:04:50.622 Oct 25, 16:04:50 The local transcript records task_complete for that screenshot-producing turn.
Before 2026-10-26 01:04:26 Before Oct 25, 21:04:26 The user reported the persistent gold display border. The helper remained running; its capture-access stop time was still zero. Latest inspected turns of active chats were using files, APIs, or browser automation, with no current native desktop-capture calls found in those turns.
2026-10-26 01:04:26.466 Oct 25, 21:04:26 Only the positively identified stale codex-computer-use.exe helper was terminated. Windows then recorded a nonzero capture-access stop time.

The completion timestamp comes from the original transcript's lifecycle event, not an assumption based on the chat appearing idle.

Process and Windows evidence

  • The retained process was codex-computer-use.exe, PID 34140, directly parented by the main ChatGPT.exe process, PID 48532.
  • Its command line was the bundled helper path followed by --parent-pid 48532.
  • Loaded modules included GraphicsCapture.dll, Windows.Graphics.dll, d3d11.dll, and dwmapi.dll.
  • A separate codex-computer-use-swift.exe helper was present and was left untouched.
  • The relevant Windows record was under: HKCU\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\graphicsCaptureWithoutBorder\NonPackaged\<encoded-helper-path>.
  • Before cleanup: LastUsedTimeStart = 134374318874561759, LastUsedTimeStop = 0.
  • After cleanup: LastUsedTimeStop = 134374502664667304, corresponding to 2026-10-26T01:04:26.4667304Z.
  • After cleanup, the old helper was absent; no replacement codex-computer-use.exe was observed in the follow-up checks. The main app and both checked Codex agent-server processes remained running, and ongoing chats continued.
  • No app restart, broad process kill, plugin disablement, or Windows permission change was used.

The user-visible border was reported by the user. The verified post-cleanup result is helper termination plus Windows recording capture access as ended; no new desktop screenshot was taken merely to verify the border.

What steps can reproduce the bug?

This is one observed incident sequence, not a verified deterministic minimal reproduction:

  1. Run multiple chats in the Windows desktop app with Computer Use enabled.
  2. Have one chat capture a native application window using Computer Use.
  3. Let the screenshot-producing chat turn complete, and continue ordinary work in other chats.
  4. Observe whether the gold/yellow capture border and native helper persist after native desktop work has ended.
  5. Check the helper's Windows capture-access record for an unset stop time.
  6. In this incident, terminating only the identified stale native capture helper caused Windows to record the end of capture access while the app and other chat agents remained running.

Please do not use a blanket helper-killing rule as the product fix: another chat may legitimately be using the same helper.

What is the expected behavior?

  • Release native capture sessions, cached frames, and associated graphics resources promptly when the owning chat finishes or relinquishes desktop use.
  • Remove the Windows capture indicator when no capture remains needed.
  • Preserve any other chat's active native operation.
  • Allow a later authorized Computer Use task to acquire a fresh session normally.
  • Handle ordinary completion, interruption, errors, disconnects, and concurrent chats.

Additional information

Existing cleanup and a possible lifecycle ordering gap

Local, read-only inspection found that cleanup mechanisms are already present:

  • User configuration already had a notify = [<bundled codex-computer-use.exe>, "turn-ended"] entry.
  • The installed unified-computer-use MCP configuration included its hidden turn_ended tool.
  • The shipped Windows client registers an addTurnEndedHandler and sends an end_turn request.
  • The shipped desktop JavaScript tracks active turns by native-pipe socket. Its end_turn path removes matching active-turn entries. Separately, closeActiveTurn first checks that tracking map and returns without closing the helper transport if the turn is no longer present.

Hypothesis, not a confirmed root cause: if the end-turn request removes ownership tracking before the outer turn/completed cleanup checks it, the later cleanup could skip closing the helper transport, allowing cached capture resources to outlive the turn. Please investigate the interaction between the end-turn callback, socket/turn ownership tracking, helper transport closure, and the native capture cache.

This was static inspection of the installed JavaScript plus process/registry observations. No instrumented race reproduction or native decompilation established the exact defect.

Scope and limitations

  • The persistent border, retained graphics-capture helper, original turn-completion timestamp, open Windows access record, and successful targeted cleanup are the evidence being reported.
  • The registry record alone does not prove continuous frame acquisition, video recording, uploading, or continuous model access to the display. No such claim is made here.
  • Later native activity in other turns is not exhaustively ruled out. At diagnosis, no current native capture calls were found in the latest turns inspected.
  • No full transcripts, screenshots, credentials, account email addresses, personal usernames, or unrelated project content are included.

Related, but a different primary symptom: #56941 reports a retained helper after Computer Use on the same desktop package version, with system-wide UI lag. This report concerns the lingering capture indicator and capture-access lifecycle; a common cause is not established.

Also related: #46675 describes the takeover overlay remaining until the entire agent turn ends on an older build. The present incident includes a verified completed screenshot-producing turn and Windows capture access remaining open afterward, rather than only an overlay persisting during the same active turn.

americanmademischief avatar Oct 26 '26 12:10 americanmademischief

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

  • #56941

Powered by Codex Action

github-actions[bot] avatar Oct 26 '26 12:10 github-actions[bot]

I'm seeing the same behavior on Windows. Screenshot attached from Task Manager: codex-computer-use.exe is still running under the main ChatGPT process, even though no chat is actively using Computer Use.

  • Codex App version: Versión 26.1023.50603
  • OS: Windows 11 Pro 23H2
    • Gold/yellow capture border visible: YES Happy to provide more details or test a fix if useful.
Image

uzgaroth avatar Oct 28 '26 23:10 uzgaroth

Additional local reproduction on Windows 10 Home 22H2 (build 19045), Codex desktop package 26.1027.3384.0, Computer Use plugin 26.1027.30824 and @oai/sky 0.7.13. GPU: NVIDIA GTX 1050 Ti. Tested with one active monitor.

There are two separate symptoms in this environment:

  1. With the signed, unmodified codex-computer-use.exe (SHA256 49C7F43DA0C2A9DBCADFB0C993058147018BF7C1D0FDE4360DE11ACE2C98F45D; Authenticode Valid), after a normal full app exit/relaunch, window enumeration and Paint activation worked, but screenshot attempts returned "FrameArrived timed out: timed out waiting on channel" and "window capture timed out: timed out waiting on channel". One monitor did not resolve this.
  2. An experimental, locally authored modification that defers the original FrameArrived handler to an MTA worker enabled three successful Paint screenshots (1675 x 857) after another normal app restart. However, the human user reported the yellow display border remaining after the answer finished. The same border symptom had also occurred with a community workaround. These modified-binary observations are disclosed as such and are NOT a clean-original reproduction of the lingering-border symptom.

No js_reset or forced process termination was used at the end of the latest successful capture test. Earlier local attempts without js_reset did not remove the border either. Cursor invisibility was also reported during earlier troubleshooting, but its cause has not been established.

Read-only inspection of the installed desktop bundle shows the same possible ordering gap described in this issue: closeActiveTurn returns early if its socket/turn tracking map no longer contains the turn; the end_turn path removes turn ownership separately. This is a static hypothesis, not a proven race.

Please investigate both Windows 10 frame delivery and explicit lifecycle cleanup of capture sessions/cache across end_turn, turn/completed, disconnect and error paths. A supported release/reacquire operation would help diagnose this without force-killing helpers.

No screenshots, account identifiers, private paths, raw transcripts or credentials are attached. This comment is posted with the affected user's explicit authorization.

themag1n avatar Oct 30 '26 02:10 themag1n

Confirmed another instance of the persistent yellow/gold screen border on Windows 11 after Codex Computer Use had finished interacting with Microsoft Word. The border surrounded the entire monitor and remained after the task completed.

Confirmed workaround: Open Task Manager (Ctrl+Shift+Esc) → Details → locate codex-computer-use.exe → End task, only when no Codex Computer Use task is actively running. The yellow border disappeared immediately in this case; no Windows restart or Word closure was needed.

This is confirmation of a temporary workaround, not evidence that the underlying capture-session lifecycle bug has been fixed.

aidenszolosi avatar Nov 06 '26 01:11 aidenszolosi

Having the same issue on codex version 26.1030.10813 and windows version: Windows 11 Home 26H2 26300.9818. Also have to go to task manager to remove the gold border. Hope this gets fixed soon.

DamianPlis avatar Nov 06 '26 19:11 DamianPlis

I experienced the same Windows Computer Use capture lifecycle issue.

After Codex completed its work and I closed the Codex application, the yellow-orange screen-capture border remained across the entire Windows desktop.

Task Manager showed:

  • codex-computer-use.exe (PID 35680)
  • codex-computer-use-swift.exe (PID 34848)

I terminated only codex-computer-use.exe (PID 35680). The yellow-orange border disappeared immediately.

The computer had also become noticeably slow and occasionally switched screens unexpectedly.

This suggests that the Windows capture session was not properly released when Computer Use finished.

Please investigate the lifecycle cleanup of the Windows Computer Use helper, including capture-session release after task completion and application exit.

praneet-bhagat avatar Nov 06 '26 19:11 praneet-bhagat

Reproduced in a fresh chat on Codex Desktop 26.1103.4239.0 (x64), Windows build 26300.9711. After Computer Use took a screenshot, the turn completed and the blue Codex indicator disappeared, but the yellow capture border stayed around monitor 1. I’ve seen this with unrelated apps. Quitting Codex cleared it in an earlier test.

/feedback session ID: 01a1b467-7c76-7132-87a8-2aed8292cbdd

lowluds avatar Nov 07 '26 05:11 lowluds

I reproduced the JavaScript cleanup omission described in this issue using the lifecycle functions extracted from a newer Windows desktop build, and tested a small candidate fix against those same functions.

This is a tested JavaScript lifecycle patch candidate, not a claim that a rebuilt Windows app or the visible monitor border has been verified end to end.

Build and inspected boundary

  • Desktop MSIX: OpenAI.Codex 26.1103.3517.0.
  • Bundled app/plugin version: 26.1103.31037.
  • Windows 11, OS build 26300.
  • Bundle: .vite/build/early-bootstrap-715-fa9cbf44c39465d5.js.
  • Original bundle SHA-256: 3b5ee7283c5eacba779052798b5a78c9b423583bf4c5e94f6ee9d98e446362ab.

The public repository tree does not contain this desktop implementation. Inspection was limited to the shipped native-pipe lifecycle factory, its tracking helpers, and the Windows helper transport/client wrapper. The installed package and native executables were left unchanged.

Deterministic failure in the original code

With the native transport replaced by a test double, execute the actual extracted server factory:

  1. Send a native request with turn metadata A; the helper is created and A is tracked.
  2. Send end_turn(A) successfully; the dispatcher removes A from activeTurnBySocket.
  3. Deliver the later turn/completed(A) cleanup through closeActiveTurn(A).

At step 3, closeActiveTurn returns false because A was already removed. The original helper transport's close() has been called zero times, even though no owner remains. The client socket can stay connected throughout. This establishes a JS cleanup omission consistent with the reported symptom; it does not establish the native capture implementation as independently fault-free.

Candidate fix

Finalize end_turn in a finally block and explicitly close an idle helper there, rather than relying on the later notification to find ownership that has already been deleted. Before deleting ownership, re-check whether the ending turn still owns it. This check matters: another scoped or metadata-free request may have superseded the turn while the native end_turn was pending.

Readable equivalent of the request-path change, with identifiers expanded from the bundle:

let result;
try {
  result = await (await getHelperTransport()).request(
    request.method,
    request.params,
    {
      codexTurnMetadata: request.codexTurnMetadata,
      createElicitation: value =>
        approvalBridge.requestApprovalForSender(sendResponse, value),
    },
  );
} finally {
  if (request.method === "end_turn") {
    const ownsEndingTurn = [...activeTurnBySocket.values()]
      .includes(turnKeyFromRequest(request));

    updateActiveTurnTracking({
      activeTurnAnalyticsBySocket,
      activeTurnBySocket,
      analyticsFields,
      onAnalyticsEvent,
      request,
      socket,
    });

    if (ownsEndingTurn && activeTurnBySocket.size === 0) {
      await closeHelperTransport();
    }
  }
}
// Continue with the existing success response / analytics handling.

Also guard closeActiveTurn after removing only the matching turn's entries:

if (activeTurnBySocket.size === 0) {
  await closeHelperTransport();
}
return true;

This uses the existing transport close operation. It does not add a global process-killing timer, change capture permissions, suppress the border, or disable Computer Use.

Exact two-anchor patch used for the inspected bundle copy

This is version-specific review/reproduction code. It returns a modified string and does not install or repack the app. The real fix should be applied to the owning source module and rebuilt normally.

import assert from "node:assert/strict";
import { createHash } from "node:crypto";

export function patchInspectedBundle(source) {
  const sha256 = text => createHash("sha256").update(text).digest("hex");
  assert.equal(sha256(source),
    "3b5ee7283c5eacba779052798b5a78c9b423583bf4c5e94f6ee9d98e446362ab");

  const requestCall = "await (await n()).request(S.method,S.params,{codexTurnMetadata:S.codexTurnMetadata,createElicitation:e=>i.requestApprovalForSender(o,e)})";
  const trackingCall = "iT({activeTurnAnalyticsBySocket:t,activeTurnBySocket:e,analyticsFields:A,onAnalyticsEvent:a,request:S,socket:l})";

  const edits = [
    [
      `let I=${requestCall};"end_turn"===S.method&&${trackingCall},p="completed"`,
      `let I;try{I=${requestCall}}finally{if("end_turn"===S.method){const ownsEndingTurn=[...e.values()].includes(iZ(S));${trackingCall};ownsEndingTurn&&0===e.size&&await r()}}p="completed"`,
    ],
    [
      "for(let[e,r]of c)r===t&&c.delete(e);return await p(),!0",
      "for(let[e,r]of c)r===t&&c.delete(e);return 0===c.size&&await p(),!0",
    ],
  ];

  for (const [before, after] of edits) {
    assert.equal(source.split(before).length - 1, 1);
    source = source.replace(before, after);
  }
  assert.equal(sha256(source),
    "e545d5665f7d8d627d4678fe99cd246cf48d25b7924a70d6a4b9e80c6a5a4866");
  return source;
}

Verification

Node v22.23.4, Node's built-in test runner. The harness executes the verbatim extracted production server factory and tracking functions; it substitutes controlled socket, schema/approval and native-transport boundaries. The second ownership guard is also exercised directly with two owners.

Same regression suite Passed Failed
Original shipped code 6 9
Patched copy 15 0

The cases cover both completion orders, native end_turn failure, screenshot failure followed by cleanup, fresh-helper reacquisition, delayed old completion after a new owner or replacement transport, metadata-free superseding requests, two-owner protection, repeated/unknown/malformed end_turn, final socket disconnect, close-failure reporting, and normal result/analytics handling. The entire patched desktop JS bundle also passes node --check. The separately exercised copy patcher rejects mismatched hashes, existing output files and in-place writes.

Remaining release validation: run the owning desktop/native integration tests with actual WGC capture, confirm that the border disappears on task completion, verify interrupted/error paths and real reacquisition, and measure close latency against the turn-ended hook timeout. No patched signed desktop build was installed/launched here. Please treat this as a reproducible cleanup-path fix proposal rather than a production-verified resolution.

HyungminYoon1 avatar Nov 07 '26 05:11 HyungminYoon1

Additional user report (November 8, 2026) involving a secondary monitor:

  • Environment: Windows 11 desktop with two monitors. Exact OS build and Codex/Computer Use versions were not collected.
  • Trigger: ChatGPT/Codex Work used Computer Use to inspect the user's browser.
  • Observed behavior: After desktop control had finished, a yellow/gold Windows capture border remained visible around the second monitor.
  • Subsequent cleanup: The original Codex conversation terminated the lingering Computer Use process before diagnostic collection was requested. No live before/after process snapshot or Windows CapabilityAccessManager capture-access record was collected. The user did not separately confirm in this report whether the border disappeared immediately after termination.
  • Scope: This is an affected user's visual observation, not an instrumented lifecycle reproduction. No claims are made about continued screenshot acquisition or underlying root cause. The application was not patched or modified.

The detail that may be useful beyond earlier confirmations is the secondary-monitor presentation following browser inspection. Submitted with the affected user's authorization.

ichigoteguz avatar Nov 08 '26 17:11 ichigoteguz

Additional reproduction on Windows x64 on 2026-11-10, using the bundled Computer Use tools through T3 Code with the Codex provider.

Versions inspected locally:

  • Desktop package: OpenAI.Codex 26.1103.3517.0 (from installed package path).
  • Computer Use plugin: 26.1103.31037.
  • Bundled @oai/sky: 0.7.17.

The agent used native Slack desktop automation with sky.get_window_state screenshots to change GitHub notification subscriptions. After the task completed, the user reported the yellow desktop border remained. Calling the supported node_repl.js_reset tool for this conversation cleared it, as confirmed by the user. No shared native helper was terminated, no app was restarted, and no binaries or Windows capture permissions were changed.

This confirms a workaround in this environment, not a permanent fix or deterministic minimal reproduction.

Hypothesis only: the shipped Windows client conditionally registers nodeRepl.addTurnEndedHandler to send end_turn. That property was undefined in this conversation's JavaScript kernel, but sky proxies calls to a separate trusted host service. Callback availability in that host was not established, so the kernel observation does not establish the root cause. Inspected desktop logs did not establish a capture-specific cleanup failure.

Reliable per-conversation cleanup on completion/reset/disconnect, without disrupting other conversations, would help.

Prepared by an agent with the affected user's authorization. No screenshots, raw transcripts, credentials, or private project content are included.

jdpt0 avatar Nov 10 '26 00:11 jdpt0

Follow-up to #issuecomment-6724458653: another live recurrence collected on November 9, 2026 (America/New_York; UTC timestamps below). Submitted with the affected user's authorization.

User observations: yellow border was on the primary monitor this time; the other chat had finished using Computer Use. After the targeted helper termination below, the user confirmed the border disappeared. The originating turn's completion timestamp was not independently established.

Environment (read-only local diagnostics):

  • Windows 11 Home, version 10.0.26200, build 26200.
  • Installed MSIX: OpenAI.Codex 26.1103.7773.0; primary runtime 26.1105.1297.0.
  • Installed Computer Use plugin cache directory: 26.1103.60933. Helper executable is bundled with desktop package 26.1103.7773; executable file/product version fields were empty.
  • Three displays reported by System.Windows.Forms.Screen: DISPLAY1 primary 2560×1440 at (0,0); DISPLAY2 secondary 1920×1080 at (2560,0); DISPLAY3 secondary 1080×1920 at (-1080,-476).

BEFORE, 2026-11-10 00:44:43.4735659 UTC:

Process PID Parent PID/name Start UTC
codex-computer-use.exe 20752 30708 / ChatGPT.exe 2026-11-10 00:23:16.8143560
codex-computer-use-swift.exe 20380 30708 / ChatGPT.exe 2026-11-10 00:19:20.3163680

The requested HKCU CapabilityAccessManager ConsentStore location graphicsCaptureWithoutBorder\\NonPackaged existed, but contained no matching Codex/ChatGPT/computer-use helper entry. Thus no helper LastUsedTimeStart/Stop raw values or decoded times were available; absence is not reported as zero or proof of an inactive session.

Cleanup / AFTER: after the user confirmed the other chat had finished desktop use, revalidated PID 20752's exact name and creation time, then terminated only that process. An immediate enumeration still listed it; by 00:45:34.5534716 UTC, codex-computer-use.exe was absent, swift PID 20380 remained, and parent PID 30708 remained running. The registry location still had zero matching helper entries. The user confirmed the primary-monitor border disappeared.

Limitations: diagnostics used local process/package/display/registry queries, without starting a new Computer Use capture or taking screenshots, to preserve the original capture state. Border presence/disappearance is user-confirmed rather than independently screenshot-observed. No claim of continuous frame acquisition, uploading, root cause, or registry-recorded session closure. No software patch, app restart, permission change, or broad process termination. Usernames, installation paths, account identifiers, and private content omitted.

ichigoteguz avatar Nov 10 '26 00:11 ichigoteguz

Another occurrence on the Windows Codex desktop app on 2026-11-10 JST. Installed Codex package: 26.1103.7773.0. Windows 25H2, build 26200.9711.

  1. Use Computer Use to inspect and switch tabs in a native Windows app.
  2. After the Computer Use work and the chat turn have finished, a colored border remains around the entire display. The user has seen this more than once.
  3. In an earlier occurrence, resetting the capture session from the agent side did not clear the border. In the latest occurrence, closing Codex cleared it, as confirmed by the user.

Expected behavior: once the Computer Use operation ends and no capture is needed, the display border should disappear without requiring the user to close Codex.

The border and its disappearance were observed by the user. The exact cleanup failure and whether frames continued to be captured were not verified.

js-iwashin avatar Nov 10 '26 07:11 js-iwashin

Additional Windows incident observed on 2026-11-10.

Environment: installed desktop package OpenAI.Codex_26.1103.7773.0 (version obtained from the local package path); computer-use plugin 26.1103.60933. Native desktop work used node_repl with the bundled @oai/sky API, including get_window_state on a remote-control application window.

User-reported frequency: the user reports that the yellow border remains after EVERY completed PC-Use task since an update, surrounding the entire first display. This is their repeated observation; the exact introducing update and a deterministic reproduction rate have not been independently established.

Controlled recovery check in this chat:

  1. Native desktop work had finished and the remote-control sessions had been explicitly disconnected.
  2. The user confirmed that the yellow border still surrounded display 1.
  3. Only this chat's node_repl JavaScript kernel was reset using its supported js_reset tool. The tool returned success.
  4. No new screenshot was taken after the reset. The user immediately confirmed that the border had disappeared.

No application restart, helper process termination, capture-permission change, or disabling of the Windows capture indicator was performed. This verifies recovery after resetting this chat's tool session; it does not establish the exact internal root cause, continuous recording, or data transmission.

Read-only inspection of the bundled Windows client also found an addTurnEndedHandler that sends end_turn, so cleanup logic is present. Please investigate why normal task completion can leave capture resources alive while resetting the persistent tool session releases them. A documented task-scoped close/cleanup operation and automatic cleanup on normal completion, cancellation, and errors would help, without disrupting other chats.

This report intentionally excludes screenshots, remote device identifiers, private logs, credentials, and unrelated task content.

lancanxiong-lang avatar Nov 10 '26 08:11 lancanxiong-lang

Another report on Windows 11 with Codex desktop package 26.1103.7773.0 and the Computer Use plugin 26.1103.60933.

After Codex used Computer Use to view/control a PC game window, the yellow screen-capture border remained after the task finished. The user reports this has happened repeatedly, and that closing and reopening Codex previously removed the border.

For the latest occurrence, the assistant reset this conversation’s node_repl JavaScript kernel using the supported js_reset tool. The user confirmed the yellow border disappeared without restarting Codex. No screenshot was taken to verify the result, and the root cause and whether capture continued were not investigated. This is a temporary workaround, not a confirmed permanent fix.

Please release the capture resources when Computer Use finishes so the border disappears automatically. Submitted at the affected user’s request.

OverworkedStudent avatar Nov 10 '26 09:11 OverworkedStudent

Additional user-confirmed occurrence on Windows 11 Home x64 (build 26300), using desktop package OpenAI.Codex 26.1103.7773.0 and Computer Use plugin 26.1103.60933.

On November 10, the user reported that the yellow border remained after Computer Use. In an earlier occurrence, they also reported that it remained when switching applications or maximizing a window and did not appear in a full-screen screenshot. The user suspected an Edge browser-use operation, but the originating capture has not been established.

Recovery observations for the November 10 occurrence:

  1. Resetting the current conversation's cua_repl session did not remove the border.
  2. Ending the JavaScript kernel of an idle candidate conversation also did not remove it; ownership of the capture by that conversation was not established.
  3. A codex-computer-use.exe helper was still running as a child of the desktop app, alongside a separate codex-computer-use-swift.exe helper. After inspecting other chats' recent activity, only the identified codex-computer-use.exe process was stopped. The user immediately confirmed that the border disappeared. The desktop app and Swift helper remained running.
  4. A later Edge about:blank screenshot test did not reproduce the border. In a separate native-window check, the helper relaunched, but the target window's accessibility state was unavailable; no native screenshot was obtained.

For comparison, on November 9 the same user confirmed that resetting the current Computer Use session cleared a similar border. These observations do not establish a deterministic reproduction or the exact cleanup failure. In particular, stopping a shared helper could interrupt another active Computer Use task, so it is a recovery step rather than a product fix.

Please ensure capture resources are released when their owning session no longer needs them, including completion, interruption, errors and disconnects, while preserving concurrent sessions.

stefanielizeth73-art avatar Nov 10 '26 14:11 stefanielizeth73-art

Additional user-confirmed occurrence on November 10, 2026, with the current installed Windows package.

Environment

  • Windows 11 Pro, 64-bit, OS version 10.0.26300 / build 26300.
  • Installed desktop package: OpenAI.Codex 26.1103.7773.0 (obtained from the installed package path, not the About dialog).
  • Computer Use plugin cache version: 26.1103.60933.

Observed sequence

  1. Codex used Computer Use with a native Windows application. The computer-use portions ended with the required completion_summary, and the task subsequently finished.
  2. The user reported that the yellow border remained around the display after control was released. They report this as a recurring problem; a deterministic reproduction rate has not been established.
  3. Resetting this conversation's cua_repl JavaScript kernel returned success, but codex-computer-use.exe remained running.
  4. The retained helper was PID 46972, parented by ChatGPT.exe PID 20032. It started at approximately 15:56:56 and was still present around 17:53 (America/Chicago, UTC-06:00). Loaded modules included GraphicsCapture.dll and Windows.Graphics.dll.
  5. After checking for other active Computer Use work and revalidating the helper's identity/path, only that helper was stopped. The main app was left running.
  6. The user explicitly confirmed that the yellow border disappeared. A process check at 17:54:35 (23:54:35 UTC) found zero codex-computer-use.exe processes. No new screenshot was taken to verify cleanup.

Expected behavior Release native capture resources when they are no longer needed after completion or release of control, so the border clears automatically, while preserving other chats' active Computer Use sessions.

The verified recovery is targeted helper termination plus the user's confirmation. The exact internal cleanup defect, continuous frame acquisition, and data transmission were not established. No app binary, Windows capture-indicator setting, or privacy/security setting was changed.

Submitted at the affected user's request. No screenshots, private chat content, account email, credentials, or full logs are included.

Hymenbust3r avatar Nov 10 '26 23:11 Hymenbust3r

Another user reported a yellow screen border after a Codex Computer Use session inspected an LM Studio window on Windows (Codex app package 26.1103.7773.0). The assistant reset the cua_repl session afterward; the non-swift codex-computer-use.exe process was no longer present. Whether the border disappeared following the reset has not yet been confirmed. This may be related to the capture lifecycle issue described here.

Henryisdjfunkyho avatar Nov 11 '26 02:11 Henryisdjfunkyho

Windows 11 Pro, build 26200; Codex 26.1103.7773.0; Computer Use 26.1103.60933.

After Codex controlled World of Warcraft, a yellow border remained around my entire screen, even after the task finished and while another chat wasn’t capturing the screen.

Restarting Codex or stopping codex-computer-use.exe removed the border, but it later returned. Please release screen capture when the task ends.

tonyloks avatar Nov 11 '26 02:11 tonyloks

I observed the same persistent yellow display border on a newer Windows desktop build.

  • Environment: Codex desktop MSIX 26.1106.6628.0 (x64), Windows 11 25H2 (build 26200.9711). The Computer Use skill package used for the earlier captures was 26.1103.60933.
  • Observed sequence: Codex used Windows Computer Use through @oai/sky and get_window_state to inspect native app windows. The screenshot-producing work ended, but the yellow border remained around the display while Computer Use was idle. We did not take another screenshot to diagnose the border.
  • Process check: Both codex-computer-use.exe and codex-computer-use-swift.exe were still running. The native codex-computer-use.exe had GraphicsCapture.dll loaded. Module presence alone did not establish which process held an active capture session.
  • Isolation test: We stopped only those two Computer Use helpers, kept the desktop app and other applications running, and verified that the helpers were no longer present. The user confirmed that the yellow border disappeared. We stopped both helpers in one test, so this does not isolate which helper was responsible.

Expected behavior: Release the capture session when the owning Computer Use work ends so the Windows indicator clears without requiring manual process termination. This report describes one observed incident. We have not confirmed a deterministic reproduction or the underlying cause.

cif0219 avatar Nov 12 '26 05:11 cif0219

I reproduced this on Windows 11 26H2 (build 26300.9974) with Computer Use plugin 26.1106.51428.

  1. Use Computer Use to open Calculator, take a screenshot, and click 7.
  2. Leave Calculator open and wait for the Codex response to finish. The yellow capture border remains visible after the turn ends.

Turning off Settings → Computer use → Any App and resetting the node_repl session both left the border visible. Ending only codex-computer-use.exe in Task Manager cleared it immediately. The next Computer Use call worked without restarting Codex and reproduced the issue again.

sappheirous avatar Nov 12 '26 13:11 sappheirous