Skip to content

[Windows Computer Use] DJI Studio rejected with identical window-owner IDs after plugin reinstall #49647

Open

Description

@gabriel-facchi

Summary

Windows Computer Use discovers the DJI Studio window but rejects it during ownership validation, printing identical expected and current app identifiers. The failure persists after reinstalling both DJI Studio and the Computer Use plugin.

Related reports: #37484 and #36335. This reproduction adds a DJI Studio / Known Folder identifier case and a successful Windows Calculator control comparison.

Environment

  • Windows version reported by the local host: 10.0.26200.0.
  • Computer Use plugin tested: 26.928.21956.
  • DJI Studio installed version directory: 1.0.0.30839.
  • Codex desktop app; exact About-dialog version and subscription not independently verified.
  • The user reports that Computer Use previously controlled DJI Studio successfully; the exact last-working versions are unknown.

Steps to reproduce

  1. Enable the Computer Use plugin and open DJI Studio.
  2. Start a fresh node_repl session and import the supported @oai/sky module.
  3. Discover the current window and use its returned identity:
const { sky } = await import('@oai/sky');
const windows = (await sky.list_windows())
  .filter(w => w.title === 'DJI Studio');
if (windows.length !== 1) throw new Error('Expected unique DJI Studio window');
await sky.get_window({ id: windows[0].id, app: windows[0].app });

Discovery returns:

{"app":"{6D809377-6AF0-444B-8957-A3773F02200E}\\DJI Studio\\DJI Studio.exe","id":9831690,"title":"DJI Studio"}

The call fails:

window id 9831690 no longer belongs to {6D809377-6AF0-444B-8957-A3773F02200E}\DJI Studio\DJI Studio.exe; current owner is {6D809377-6AF0-444B-8957-A3773F02200E}\DJI Studio\DJI Studio.exe

The numeric window ID is session-specific.

Expected behavior

A freshly discovered, uniquely selected DJI Studio window should pass identity validation, follow the normal app approval flow, and allow activation and capture. Ownership protections should remain enforced.

Troubleshooting and control comparison

  • Restarted DJI Studio and Codex.
  • Disabled and re-enabled the Computer Use server.
  • Reset node_repl, reimported the module, rediscovered the window and retried.
  • Reinstalled DJI Studio; discovery returned a new window ID, but the same failure.
  • Reinstalled the Computer Use plugin; the user reported that prior app approvals were cleared. A fresh JavaScript session reproduced the failure.
  • activate_window using the actual returned DJI window also fails ownership validation.
  • launch_app using the exact DJI identifier returned by list_apps fails with launched app did not expose a targetable window.
  • Earlier tests using the launcher and versioned executable paths did not resolve the issue.
  • Windows Calculator (Microsoft.WindowsCalculator_8wekyb3d8bbwe!App) successfully opened, passed get_window and activate_window, and produced a correct screenshot after activation.

The Calculator result confirms that Computer Use is not globally unavailable in this session; it does not establish whether other Win32 apps are affected.

Impact and investigation request

DJI Studio cannot be inspected or controlled, preventing an editor integration validation. No video project was modified.

Please investigate Win32 window/app identity comparison, including Known Folder-style identifiers and launcher/versioned executable identity mapping. These are hypotheses, not a confirmed internal root cause. No ownership checks were bypassed.

This report intentionally contains only a minimal reproduction; no full session history, account logs, personal filesystem paths, or video files are included.

Activity

  1. added
    bug
    app
    windows-os
    on Sep 30, 2026
  2. Dmgerr commented on Oct 22, 2026

    @Dmgerr

    Title: Windows Computer Use rejects DJI Studio with identical expected/current window owners

    Observed on 22 October 2026. Related existing report:
    #49647
    Also related symptom: #36335

    Environment verified locally:

    • Windows x64, DisplayVersion 26H2, build 26300.9711.
    • Computer Use skill bundle: 26.1016.61520. The same symptom was previously observed with 26.1013.40934.
    • DJI Studio installation contains version directory 1.2.25.31368.
    • Codex desktop version was not independently verified during this report preparation.

    Observed behavior:
    The supported @oai/sky API successfully enumerates the DJI Studio application and its window through list_apps()/list_windows(). Selecting the actual returned window and requesting its state fails with:

    window id 133786 no longer belongs to F:\Program Files\DJI Studio\DJI Studio.exe; current owner is F:\Program Files\DJI Studio\DJI Studio.exe

    The displayed expected and current owners are identical. Window IDs changed after restarts, but the symptom persisted.

    Minimal reproduction:

    1. Keep DJI Studio open on the active Windows desktop.
    2. Import @oai/sky in the supported node_repl runtime.
    3. Call list_windows() and select its unique returned DJI Studio window.
    4. Use get_window({id: returned.id, app: returned.app}) and/or get_window_state({window: returnedWindow, include_screenshot: true, include_text: false}).
    5. Observe the ownership error before a screenshot is returned.

    Troubleshooting already performed in this conversation:

    • Refreshed both app and window discovery and retried with returned identities.
    • Tried id-only get_window recovery; subsequent state capture still failed.
    • Tried accessibility/text-only state capture without a screenshot; the same error occurred.
    • Reset the JavaScript kernel, reimported @oai/sky and rediscovered the window.
    • The user reported restarting DJI Studio and Codex, rebooting Windows, and launching Codex as administrator. Subsequent supported API checks still produced the same error. Elevation tokens were not independently inspected.

    Expected behavior:
    A uniquely enumerated live DJI Studio window should pass normal identity validation and permit the normal approved capture/control flow, or the error should explain the actual identity mismatch.

    Impact:
    The assistant cannot inspect or operate DJI Studio. No successful live DJI screenshot or UI action was obtained. The internal root cause is not established, and ownership checks were not bypassed. No screenshots, personal media, project names, full logs or private file paths are included in this text.

    Please investigate this additional reproduction of #49647 on the versions above and advise whether a fixed build or supported recovery procedure is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions