Repository navigation
Description
Summary
On Windows, Computer Use enumerates a Blender window correctly but get_window, activate_window, and get_window_state reject it with a contradictory ownership error:
window id <HWND> no longer belongs to blender.4.5; current owner is blender.4.5
In one isolation test, Computer Use accepted a window listed as File Explorer but the screenshot contained Blender instead. This suggests the Window2 HWND-to-app ownership mapping can become cross-wired.
Environment
- Windows 11 Pro 25H2, build 26200.8875
- Codex desktop package:
OpenAI.CodexBeta_26.727.4816.0_x64 - Computer Use plugin:
26.727.40816 - Blender:
4.5.12 LTS - Blender app identifier returned by
list_apps/list_windows:blender.4.5
Minimal reproduction
- Install and enable the bundled Computer Use plugin.
- Approve only the canonical Blender app ID
blender.4.5. - Launch a fresh Blender 4.5.12 process with one visible window.
- Call
list_windows(); it returns exactly one Blender window:{"app":"blender.4.5","id":4918426,"title":"<blend file> - Blender 4.5.12 LTS"} - Rehydrate the returned object:
const w = await sky.get_window({ id: returned.id, app: returned.app });
- The call fails:
window id 4918426 no longer belongs to blender.4.5; current owner is blender.4.5
Passing only the ID to get_window({ id }) returns a window object, but subsequent capture still fails with the same message.
Troubleshooting completed
- Fully quit and restarted Codex.
- Uninstalled and reinstalled Computer Use.
- Enabled its server and skill toggles.
- Restarted only the
codex-computer-usehelper. - Launched fresh Blender processes and fresh HWNDs.
- Removed duplicate process-path approvals, leaving only
blender.4.5. - Tested with the Blender splash disabled.
- Confirmed the plugin cache matches the bundled marketplace copy.
- Confirmed unrelated File Explorer capture succeeds through the same helper.
None changed the Blender failure.
Wrong-window isolation evidence
A window returned as:
{"app":"process:C:\\Windows\\explorer.exe","id":657810,"title":"<folder> - File Explorer"}was accepted by get_window_state, but the resulting screenshot showed the Blender viewport and splash. This is a privacy/safety concern in addition to preventing Blender control.
Expected behavior
A fresh window object returned by list_windows should bind and capture when the reported owner and current owner are both blender.4.5. Computer Use must not capture a different application's content under an Explorer window identity.
Activity
weiwei187242 commentedon Aug 3, 2026
Additional confirmed reproduction with WeChat DevTools (an NW.js application).
Environment
26200.8875OpenAI.Codex_26.727.6591.0_x6426.727.51351@oai/sky:0.6.2Stable v2.01.2510290list_apps()andlist_windows():nwjs._nwjs_mbeehgnikfbgjh.80d774828fb0.DefaultReproduction
list_apps()consistently returns the WeChat DevTools windows, including this unique window:{ "app": "nwjs._nwjs_mbeehgnikfbgjh.80d774828fb0.Default", "id": 17959512, "title": "WeChat DevTools Stable v2.01.2510290" }Rehydrating that exact returned object fails:
The reported expected owner and current owner are identical, as in the Blender reproduction above.
Troubleshooting completed
list_apps()and retried with the newly returned object.list_windows()and confirmed the same HWND/app mapping.The WeChat DevTools window remains unbindable after these checks. This suggests the contradictory ownership validation is not Blender-specific and also affects NW.js app identifiers.
piaoxiangbeifang123 commentedon Aug 4, 2026
Hi, I'm experiencing what appears to be the same issue with Codex Computer Use on Windows, but with AdsPower's SunBrowser.
The error is:
window id 70378 no longer belongs to SunBrowser; current owner is SunBrowserThe expected owner and current owner are displayed as exactly the same application, but Codex still rejects the window when trying to read or interact with its contents.
Restarting Codex, AdsPower, and SunBrowser did not resolve the issue.
Has this been fixed in a newer Codex or Computer Use build, or is there currently a known workaround? I can provide my Windows version, Codex desktop version, Computer Use plugin version, and additional logs if needed.
Thanks!
1063716500-sketch commentedon Aug 6, 2026
Additional reproduction indicating this may be a system-wide ownership-validation failure rather than an application-specific compatibility issue.
Environment
19045.646626.730.8199.0(Microsoft Store reported no newer update)26.730.61639@oai/sky:0.6.20.1.0Scope
The same contradictory ownership error reproduces across multiple unrelated applications on the same installation, including:
For each affected window, the expected owner and current owner printed in the error are identical:
Additional validation
get_window({ id })without anappvalue can return the correct window object.get_window_state,activate_window, and calls that include the returned app identity fail ownership validation.GetWindowThreadProcessIdconfirms the HWND is valid and belongs to the process represented by that same executable path.No screenshots, project files, local paths, or user content are attached to this report.
This appears to broaden the issue beyond Blender/NW.js/SunBrowser: on this Windows 10 installation, ownership validation rejects every tested application even when its own diagnostic output says both owners are identical.
Bonnald commentedon Sep 30, 2026
Additional reproduction: identical-owner rejection for a Windows game
I can reproduce the contradictory window-owner error with 三国:谋定天下, a Windows game. These observations were collected on October 1, 2026 (UTC+8).
Environment
@oai/sky: 0.7.5.25D792D0661D0E10D04D2CA3AABAE491FAE69F045CF27CF3AB9E906D7AD82910.Minimal reproduction
With the game already running, use the supported API in the trusted Node REPL:
Discovery returns (the numeric ID is session-specific):
{"app":"G:\\Program Files\\NSLG\\NSLG.exe","id":13895852,"title":"三国:谋定天下"}get_windowfails:The expected and current identifiers printed in the error are identical.
get_window({ id: returned.id })withoutappreturns a window object, butget_window_statewith that returned object fails with the same error. Screenshot-backed and text-only reads both failed during troubleshooting. No fabricated window objects or alternate owner IDs were supplied.Launcher/process observations
list_apps()exposes two entries:G:\Program Files\NSLG\NSLG.exe, display name三国:谋定天下, with the window above.process:G:\Program Files\NSLG\NSLG Game\com.bilibili.nslg.exe, marked running, withwindows: [].The Start menu shortcut targets
NSLG.exe. Process inspection showscom.bilibili.nslg.exeis a child ofNSLG.exe. These observations may help investigate launcher/process identity matching, but do not establish an incorrect mapping or its internal cause.Elevation comparison and retries
TokenElevationchecks confirmed Codex, the Computer Use helper, the launcher, and the game all hadElevated=1.get_windowand state capture. The same error persisted.Elevation did not resolve this reproduction. Fresh enumeration and ID-only rehydration also did not resolve it. The game itself was not restarted during this sequence; its window ID remained unchanged.
Successful control comparison and third-party workaround disclosure
This Windows 10 installation uses CodexComputerUseFix / Codex Capture Compat v0.1.0, an unofficial adjacent
version.dll, for a separate WGC screenshot compatibility failure. The helper executable was not modified. The DLL was confirmed loaded, so this is not a clean, unmodified-runtime reproduction.Through the official
skyAPI with the workaround active:2,+,3,=produced 5.The game fails during owner validation. This comparison shows Computer Use is not globally unavailable on this installation, but does not rule out an interaction with the third-party DLL. The game ownership error has not been tested without that DLL.
Expected behavior and investigation request
A freshly discovered window should bind to its verified app identity or return a diagnostic that explains the actual mismatch. Please investigate why validation rejects this window while printing identical identifiers, and whether launcher/process identity handling contributes.
Is there a fixed build or a supported diagnostic procedure? I have not reproduced the wrong-window capture described in the original report. No ownership checks were bypassed, no game actions were performed, and no game settings or account data were changed.
This diagnostic was prepared with Codex assistance. No full logs, screenshots, account identifiers, or private conversation links are included.
geozocco commentedon Nov 1, 2026
Additional reproduction on 2026-11-01 using the supported
cua_replAPI.Installed Windows desktop package:
OpenAI.Codex26.1027.3384.0.Bundled Computer Use plugin: 26.1027.30824.
The official Microsoft Store update check reports no newer package available.
The native inventory correctly returns two running Guppy Log Watch windows
(main and incident), both with app ID
com.netline.guppy-log-watch.Selecting each exact, freshly enumerated window with
await cua.getApp({windowId: returnedWindowId});fails before capture or input:The same failure was independently reproduced after a normal target-app restart
with a new window ID and unchanged configuration. The target runs outside the
Codex AppX package context. Its process explicitly sets the same Windows
AppUserModelID as the installed application identity.
Current reproductions send no app input and capture no screenshot. No owner
identifiers, window objects, vendor binaries, or permission checks were modified.
No alternate app identity or capture backend was used to work around validation.
Could the maintainers provide a fixed supported build or a supported diagnostic
procedure for the comparison that fails while reporting identical owner strings?
The required acceptance is binding and capturing the exact returned target while
still rejecting real owner changes and recycled window handles.
alsterd777-star commentedon Nov 2, 2026
Additional reproduction: DJI Studio on Windows
I am encountering the same identical-owner rejection with DJI Studio through the supported
cua_replComputer Use interface. Could the maintainers please investigate or advise a supported fix?Environment
DisplayVersion:25H2; OS build:26200.9711.1.2.30.32119.26.1027.30824.01a197d8-dbd8-77d1-aa15-e623125230cf(provided following the in-app feedback step; whether a complete trace was attached has not been verified).Reproduction
cua.listWindows().await cua.getApp({windowId: returnedWindowId}).One confirmed failing attempt was on 2026-11-01 at approximately 17:34 UTC, with this error:
The application identifier returned by
listApps()matches theappfield returned bylistWindows(). The expected and current owner strings were compared character by character: both have the same 64 characters/code points, with no differing character.Fresh enumeration, normal DJI Studio restarts with new window IDs, and resetting the Computer Use JavaScript session did not resolve the failure. In contrast, CapCut and DaVinci Resolve Studio
21.1.2.10are controllable through the same integration; Resolve window reads, clicks and its internal Python console were successfully exercised.The DJI installation contains a launcher and a versioned executable. Whether that contributes is not established; the actual owner PID/privilege level could not be independently verified from the isolated task environment. I have not reproduced the wrong-window capture described in the original report.
No owner identities, vendor binaries, permission checks or security settings were altered to bypass the rejection. No footage, project contents or full logs are attached.
This blocks my intended daily editing workflow directly in DJI Studio. Is there a fixed supported build or a narrowly scoped diagnostic procedure that can identify why validation rejects a window while displaying identical owner strings? Thank you.