codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows Computer Use capture border persists around a full-screen RDP display and clears when the native helper exits

Open Water-Run opened this issue 2 weeks ago • 1 comments

What happened?

A pink outline persisted around one display on a three-monitor Windows desktop with Codex running. That display contained a full-screen Microsoft Remote Desktop (mstsc) window. The outline was easy to miss in a bug report because a capture of the Remote Desktop window itself showed clean edges.

Environment

  • Codex desktop for Windows, package version 26.1111.2228.0, x64
  • Windows 11 Insider Preview, build 26340.9882
  • Affected display on the right, 2560 × 1600 physical pixels

How we verified it

  1. With mstsc full-screen, read the local desktop pixels using GDI and compare them with the pixels returned by Win32 PrintWindow for the same mstsc window. The local desktop had a four-pixel-wide #FF99A4 band with a two-pixel black outer edge. The corresponding window pixels showed the underlying content. Equivalent samples on the other two displays were clear.
  2. Repeat the desktop measurement about nine minutes later. The outline was still present. The bundled codex-computer-use.exe had GraphicsCapture.dll loaded. These measurements used GDI and did not initiate a new Windows Graphics Capture session.
  3. Stop only that instance of codex-computer-use.exe and repeat the measurement with the same mstsc process still full-screen. The outline disappeared on the first sample, about two seconds later, and remained absent on subsequent samples. The Codex desktop app and the separate Swift helper remained running.
Pixels matching #FF99A4 along a line three pixels in from each edge Left Right Top Bottom
Before stopping the helper 1596 1596 2556 2556
First sample after stopping it 0 0 0 0
Follow-up sample 26 seconds later 0 0 0 0

Expected behavior

The indicator should reflect an active capture and clear when its owning Computer Use session releases the display. Please investigate the capture-session lifetime and whether the app can identify the owning task when this happens. The initiating action and the owning task were not established in this incident. Ending the helper cleared the symptom on this machine.

Related reports include #57101 and #61754. This occurrence adds a window-versus-desktop comparison and a measured before/after result for the native helper.

Water-Run avatar Nov 18 '26 01:11 Water-Run

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

  • #61754
  • #61203

Powered by Codex Action

github-actions[bot] avatar Nov 18 '26 01:11 github-actions[bot]