Repository navigation
Description
Codex App version
26.1023.51421 (build 22530), release channel prod.
Official updater returned up_to_date on October 29, 2026.
Subscription
Not included in this report.
Platform
Windows; exact OS version not collected. Google Chrome; exact browser version not collected.
Summary
The bundled mcp__cua_repl tool can enumerate Chrome desktop windows. The browser extension connection also successfully lists tabs, titles, and URLs. However, calling cua.getApp({ windowId }) with a freshly enumerated Chrome window ID fails before returning accessibility state or screenshots.
The expected and actual application identifiers printed in the error are identical. As a control test, the same tool successfully connected to the ChatGPT desktop window and returned its accessibility tree.
Full error
window id 10355392 no longer belongs to Chrome.M5G25YEHXDOZFNNRE3FRKBLR5U; current owner is Chrome.M5G25YEHXDOZFNNRE3FRKBLR5U
Steps to reproduce
- Open Chrome and keep a regular browser window open.
- In Codex, call:
await cua.listWindows();
- The result includes the following Chrome window. Only the title is redacted; the other fields retain their observed values:
{ "app": "Chrome.M5G25YEHXDOZFNNRE3FRKBLR5U", "id": 10355392, "title": "[Page title redacted] - Google Chrome" } - Use the freshly returned window ID:
let chromeWindow = await cua.getApp({ windowId: 10355392 });
- The tool returns the error above without obtaining window state.
On another system, use the ID returned by the current enumeration rather than the example ID.
Expected behavior
Connect to Chrome using the valid window ID, retrieve accessibility state or screenshots, and support ordinary clicking and scrolling.
Actual behavior
Window ownership validation fails before window state is returned. The same error persisted even when the Chrome window title changed.
Troubleshooting already attempted
- Re-enumerated windows and used the freshly returned ID: same error.
- Reset the
cua_replJavaScript session and reconnected: same error. - Retried after opening a new Chrome window: same error. The tool still returned the original window ID, so a new window identity was not confirmed.
- Restarted Codex and reconnected: same error.
- Connected to the ChatGPT native window as a control: successful accessibility tree.
- Checked the Chrome browser extension connection: successfully listed tabs, titles, and URLs.
- Checked official Codex updates:
up_to_date; no update available.
Browser data was not cleared, Chrome was not reinstalled, and ownership validation was not modified.
Preliminary findings
Read-only inspection of the local installation found the error string in the bundled Windows native component:
@oai/sky/bin/windows/codex-computer-use.exe
The Windows getApp path retrieves a window and then requests its state. Evidence suggests a window identity resolution or ownership validation issue; the root cause is not confirmed.
Please investigate why the identical displayed identifiers fail validation and advise a supported fix or further diagnostic steps.
Impact
Native desktop control of Chrome is blocked, including reading pages, capturing screenshots, and scrolling.
Feedback ID
Submitted through the app's official feedback dialog:
01a1855d-92a8-7df2-9086-da5994dd6f07
The in-app report excluded documents, diagnostic logs, and browser tabs/logs. No website names, browsing URLs, account details, or private files are included here.
Related reports
Similar Windows ownership-validation symptoms have been reported in #57739, #55039, and #37484. This report adds the Chrome reproduction using cua.getApp on build 22530, with successful native access to the ChatGPT window as a control.
Activity
github-actions commentedon Oct 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
athiphan1106 commentedon Nov 5, 2026
Additional Windows diagnosis using the supported Computer Use APIs (2026-11-06). Please investigate canonical app resolution for a Chromium-derived executable that shares the registered Chrome identifier.
Environment: codex-cli0.166.0 and bundled Computer Use26.1029.61003; Windows. The affected browser is CloakBrowser Chromium146.0.7680.177.5 (file metadata146.0.7680.177, product Chromium). The control browser is installed Google Chrome156.0.8078.80.
Observed facts:
window id [returned handle] no longer belongs to Chrome; current owner is Chrome, before page content or input. A supported cua.getApp({windowId}) attempt on the original returned window also failed.The shared canonical app ID plus distinct executable paths is an observed ambiguity. That this ambiguity causes the native comparison to fail is still a hypothesis, not a confirmed root cause. The failed selection was not repeated after this inventory because neither the original process nor provider capability had changed.
Reproduction when the maintainers have an affected setup: enumerate with cua.listWindows(), select the unique intended Chromium window from the returned records, then call cua.getApp({windowId: selected.id}). Do not substitute app fields or reconstruct handles. Compare with the normal Chrome window under the same provider and user.
Could you provide a supported diagnostic showing the expected versus resolved executable identity, or a fixed provider build that retains ownership validation? We have not located the native comparator implementation in the editable project sources. Disabling ownership checks, substituting app IDs, changing browser security settings or borrowing another browser session is not an acceptable fix.
No private page URLs, account names, screenshots, raw logs, user paths, credentials or machine identifiers are attached. No browser reload/restart, production code change, permission/registry change or alternate CDP/helper access was performed for this diagnosis. This report does not claim a repair.
abangkis commentedon Nov 29, 2026
Windows Computer Use rejects a Chrome for Testing window that it enumerates as Chrome
Additional reproduction for openai/codex#57972. Tested on November 29, 2026. The blocked developer workflow is read-only inspection of a desktop timeline served by a bundled Chrome for Testing browser. The same failure reproduces with a local HTML file and a fresh browser profile.
Environment
@oai/skyReproduction
Save the two files included below as
fixture.htmlandOpen-Fixture.ps1. Place them in one directory and run the following from that directory with PowerShell. Supply the path to the available Chrome for Testing binary. The launcher creates a new disposable profile for each run. The HTML file contains a heading and body marker and has no scripts or network dependencies.WindowTitleand currentWindowIdprinted by the launcher. Windows sourced that handle from the browser process that opened the isolated profile.System Chrome control command:
Observed results
Chromeget_windowraisedwindow id <HWND> no longer belongs to Chrome; current owner is ChromeChromeget_windowandget_window_statesucceeded. BothsameWindowandbodyMarkerwere true.Prior controls reproduced the same error with the bundled binary in app mode, both with its default window AppUserModelID and with the application's explicit development AppUserModelID. Restoring the original ID gave the same result. In the affected daily setup, both browser processes and the Computer Use helper were in the same interactive session at Medium integrity. A fresh read-only attempt on the daily timeline still failed at
get_windowafter the two minimal fixture runs.The first visible failure is in Computer Use window binding, before UI state or input. The two binaries differ in version, distribution and install path. The observations do not identify the hidden comparison or single out one of these differences as the cause.
Expected behavior and maintainer question
For the freshly enumerated, independently matched fixture, binding should return the correct window and allow the body marker to be read. If the provider detects a genuine mismatch, a non-sensitive diagnostic identifying the mismatched field would make it actionable. Is there a released helper or supported configuration for a side-by-side Chrome for Testing executable on Windows? Which build and identity fields should we use to verify the fix?
Retest criterion
Repeat the ordinary-window fixture after a proposed fix and require a matching window and body marker on two fresh launches of the affected binary. Recheck the installed Chrome control. For product acceptance, repeat the daily timeline test on two launches, verify a harmless intended-window interaction, and check the taskbar relaunch and separate capture-host targeting.
Related reports: Chrome window identity validation and Windows Computer Use identical-owner reports.
fixture.html
Open-Fixture.ps1