Skip to content

Windows Computer Use rejects DingTalk window with identical expected and current app identifiers #55039

Open

Description

@jinfengszu

Summary

The bundled Windows Computer Use plugin can enumerate DingTalk's main window, but sky.get_window rejects the fresh returned window with a contradictory ownership error. The expected and current app identifiers in the message are identical. Youdao desktop translation works through the same client: binding, screenshots, typing, clicking, and reading the translation all succeeded.

Environment

  • Windows desktop (exact OS build and desktop app version not collected)
  • Computer Use plugin: 26.1013.40934
  • DingTalk executable product/file version: 9.0.2.261013001
  • Client: bundled @oai/sky, initialized in the Node REPL as instructed by the plugin skill
  • Reproduced repeatedly on 2026-10-18

Minimal reproduction

const { sky } = await import('@oai/sky');
const windows = await sky.list_windows();
const candidates = windows.filter(w => w.title === '钉钉');
if (candidates.length !== 1) throw new Error('Expected one DingTalk window');
const returned = candidates[0];
const window = await sky.get_window({id: returned.id, app: returned.app});

Example fresh enumeration:

{"app":"Microsoft.AutoGenerated.{17F98C31-0FDC-A7D8-8C79-66D85764ED87}","id":263964,"title":"钉钉"}

Actual error:

window id 263964 no longer belongs to Microsoft.AutoGenerated.{17F98C31-0FDC-A7D8-8C79-66D85764ED87}; current owner is Microsoft.AutoGenerated.{17F98C31-0FDC-A7D8-8C79-66D85764ED87}

Observations and troubleshooting

  • Refreshing list_windows and immediately binding its returned object still fails.
  • Reopening DingTalk produced different window IDs but the same error.
  • Omitting app from get_window({id}) also failed in an earlier attempt.
  • Capturing a freshly enumerated Window directly through get_window_state also failed.
  • launch_app reports no targetable window, but a subsequent list_windows finds DingTalk's main window.
  • An earlier list_apps result had both a process-path DingTalk entry with no windows and a Chinese-named auto-generated-ID entry owning the main window. This is an observation, not a confirmed root cause.
  • Youdao desktop app works in the same setup, so the failure is not universal across applications.
  • No DingTalk screenshot was obtained; screenshot protection or an accessibility-tree issue has not been established.
  • Elevation differences have not been established.

Expected behavior

A freshly returned DingTalk window should bind when expected and current owners match, or the error should expose the actual reason for rejection.

Related reports

No account details, organization details, course links, authentication data, or session logs are attached.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 18, 2026
  2. ScandalousSwede commented on Oct 21, 2026

    @ScandalousSwede

    Additional current reproduction of this owner-validation failure, using a process-path app identifier rather than an auto-generated identifier.

    Environment

    • Windows Codex desktop 0.163.0-alpha.11
    • Bundled Computer Use plugin 26.1016.51333
    • Supported @oai/sky window2 API
    • Reproduced 2026-10-21

    A fresh list_apps() result exposed:

    {
      "app": "C:\\Users\\<redacted>\\AppData\\Local\\ArgusOperator\\<build>\\app\\Argus.Operator.Preview.exe",
      "id": 133466,
      "title": "Argus Operator"
    }

    Direct capture of that exact returned object:

    await sky.get_window_state({
      window,
      include_screenshot: false,
      include_text: true,
    });

    failed with:

    window id 133466 no longer belongs to C:\Users\<redacted>\AppData\Local\ArgusOperator\<build>\app\Argus.Operator.Preview.exe; current owner is C:\Users\<redacted>\AppData\Local\ArgusOperator\<build>\app\Argus.Operator.Preview.exe
    

    Refreshing app/window selection and retrying once produced the same result. No screenshot, accessibility state, or input was obtained or sent. The test process was closed normally.

    OpenAI Support case: 17923004. In-app feedback submitted as requested: 01a0ca63-4ef6-7a40-850c-feee7b065ee6. Support confirmed there is no published PID/process targeting API, so this remains blocked without weakening ownership validation. Chat documents, diagnostic logs, browser tabs, and the broader session transcript were not attached.

  3. Lycheen97 commented on Nov 10, 2026

    @Lycheen97

    Confirmed another DingTalk reproduction on 2026-11-10, with newer bundled Computer Use and DingTalk versions, from a Windows Codex CLI / Runner session.

    Environment

    • Codex CLI: 0.167.0
    • Bundled Computer Use plugin: 26.1103.60933
    • Bundled @oai/sky: 0.7.17
    • Windows OS API version: Microsoft Windows NT 10.0.26300.0
    • DingTalk product/file version: 9.0.5.261029005
    • Official Node REPL + @oai/sky entry point; user configuration has SKY_CUA_NATIVE_PIPE="0".

    Reproduction

    Using the documented public API and the returned identity unchanged:

    const { sky } = await import("@oai/sky");
    const candidates = (await sky.list_windows())
      .filter(w => w.title === "钉钉");
    if (candidates.length !== 1) {
      throw new Error("Expected exactly one DingTalk window");
    }
    const returned = candidates[0];
    await sky.get_window({ id: returned.id, app: returned.app });

    Fresh enumeration returned:

    {
      "app": "Microsoft.AutoGenerated.{69B1A407-A8C3-5461-9775-55FD0B5E71D3}",
      "id": 1837734,
      "title": "钉钉"
    }

    The immediately following get_window failed:

    window id 1837734 no longer belongs to Microsoft.AutoGenerated.{69B1A407-A8C3-5461-9775-55FD0B5E71D3}; current owner is Microsoft.AutoGenerated.{69B1A407-A8C3-5461-9775-55FD0B5E71D3}
    

    This isolates the failure to get_window, before activation, screenshots, accessibility capture, or input.

    Additional observations

    • Before DingTalk was normally closed and reopened, another fresh window (ID 2099860) produced the same contradictory ownership error. Omitting the optional app parameter also failed in that earlier attempt.
    • After reopening DingTalk, the new window ID above still failed.
    • list_apps() returned two running DingTalk records:
      • process:C:\\Program Files (x86)\\DingDing\\main\\current\\DingTalk.exe, display name DingTalk, windows: [].
      • Microsoft.AutoGenerated.{69B1A407-A8C3-5461-9775-55FD0B5E71D3}, display name 钉钉, owning the actual main window.
    • Read-only process metadata associated that main window handle with the executable path above.
    • Launching the returned auto-generated app ID reported launched app did not expose a targetable window; subsequent enumeration found DingTalk.
    • The two application records are an observation to help investigate identity discovery/comparison, not an established root cause.

    A fresh window returned by the API should bind successfully, or the ownership error should describe the actual identity difference. Please advise whether there is a supported workaround or a fixed build for this case.

    No mailbox content, account details, credentials, private user paths, screenshots, or full session logs are included. No ownership checks or application permissions were bypassed.

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