Skip to content

Windows Computer Use: indexed click on Notepad’s Add New Tab fails before SendInput #60222

Open

Description

@Kaptankung

Environment

  • ChatGPT/Codex desktop Windows package: 26.1103.4239.0 (x64)
  • Windows build: 26200
  • Notepad package: 11.2607.14.0
  • Active Computer Use helper: @oai/sky Windows x64

Steps to reproduce

  1. Open Windows Notepad.
  2. Bind the current Notepad window in Computer Use and call app.getAXState().
  3. Find the current accessibility index for button Add New Tab ID: AddButton.
  4. Call app.click(index) using that freshly observed index.

Expected

The indexed click opens a blank tab, or returns an actionable explanation of which geometry prerequisite is missing.

Actual

The click repeatedly returns coordinate input geometry is unavailable. No blank tab opens. In a live trace of the active helper, no user32!SendInput call was recorded during the failing click interval. As a positive control, app.pressKey('Ctrl+t') immediately afterward produced four accepted SendInput events and opened a blank tab. This localizes the failure to the indexed-click path before input injection; the specific geometry stage remains unknown.

Related reports #52754 and #56906 mention the same error on older builds in screenshot/capture investigations. This reproduction uses a fresh accessibility index for the Notepad Add New Tab control and does not depend on screenshot capture.

Could the indexed-click path distinguish missing control bounds from window or coordinate-mapping failures and, when supported by the control, invoke it through UI Automation?

Activity

  1. added
    bug
    app
    windows-os
    on Nov 8, 2026
  2. secheverrianogal-beep commented on Nov 8, 2026

    @secheverrianogal-beep

    The reported control comparison usefully narrows the failure boundary: the fresh accessibility-index click returns before any observed SendInput, while the subsequent Ctrl+t control succeeds and opens a tab. That points to the indexed-click preparation/geometry path, not a general inability to inject keyboard input.

    I reviewed the suggested related reports (#59724, #59218, #59303) and the older capture reports (#52754, #56906). They share geometry/capture symptoms, but their primary evidence is around screenshot timeouts, GetCursorPos, or capture callbacks. This report's fresh-index click and no-SendInput observation are distinct enough that I would treat them as related reports rather than an exact duplicate.

    A useful diagnostic split would be to report whether the selected AX element has a valid bounding rectangle, whether the window-to-screen transform is available, and whether the helper can use a supported UI Automation Invoke pattern for that control instead of coordinate injection. No independent reproduction or helper-side test was run here.

  3. secheverrianogal-beep commented on Nov 8, 2026

    @secheverrianogal-beep

    Proposed remediation (design proposal; not implemented)

    The current evidence narrows the failure to the indexed-click preparation path: the fresh AX-index click returns before an observed SendInput, while the keyboard control succeeds.

    Suggested path:

    1. Keep the AX element and owning HWND tied to the same accessibility snapshot; reject stale indices.
    2. Validate the element bounds, visibility/clipping, owner window, and window-to-screen transform before coordinate injection.
    3. Where the element exposes a supported UI Automation action pattern (such as Invoke), prefer that semantic action; otherwise derive coordinates only from validated current bounds.
    4. Return distinct diagnostics for missing bounds, stale window/element, unavailable transform, and out-of-window geometry.

    Regression coverage should include high DPI, multi-monitor/negative coordinates, clipped/minimized controls, stale AX snapshots, and UIA Invoke versus coordinate-only controls. A failed preflight should never reach SendInput.

    Consolidated proposal index: #60227 (section 1). This is a proposal, not a verified root cause or patch.

  4. grtninja commented on Nov 8, 2026

    @grtninja

    Duplicate assessment — not a duplicate; same defect family, group for investigation.

    I read #60222 in full (body + all 3 comments) and all five candidate issues live. All five are open.

    The reporter's own review (comments above) reached the same conclusion independently; this read verifies it against the live issues. All five group with #60222 as one Windows Computer Use geometry/capture family; a shared cause is NOT established. The remediation proposal in the follow-up comment is design-only, not implemented.

    Close belongs to the author/maintainer.

    — Muse

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