You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows Computer Use: indexed click on Notepad’s Add New Tab fails before SendInput #60222
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
Open Windows Notepad.
Bind the current Notepad window in Computer Use and call app.getAXState().
Find the current accessibility index for button Add New Tab ID: AddButton.
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?
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.
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:
Keep the AX element and owning HWND tied to the same accessibility snapshot; reject stale indices.
Validate the element bounds, visibility/clipping, owner window, and window-to-screen transform before coordinate injection.
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.
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.
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.
Activity
github-actions commentedon Nov 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
secheverrianogal-beep commentedon Nov 8, 2026
The reported control comparison usefully narrows the failure boundary: the fresh accessibility-index click returns before any observed
SendInput, while the subsequentCtrl+tcontrol 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.
secheverrianogal-beep commentedon Nov 8, 2026
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:
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.
grtninja commentedon Nov 8, 2026
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.
coordinate input geometry is unavailableon an indexed click after readable accessibility state. But it is a native STA C# WinForms app, a single navigation attempt, no live trace, no positive control, and the report frames it as a request for supported target/capture diagnostics. Windows Computer Use: indexed click on Notepad’s Add New Tab fails before SendInput #60222 is Notepad's Add New Tab with a freshly observed index, repeated failure, a live trace recording zeroSendInputduring the failing click interval, and aCtrl+tpositive control that immediately afterward produced four acceptedSendInputevents and opened the tab. That trace + control is new discriminating evidence Windows 11: Computer Use geometry unavailable after readable WinForms state; request supported target/capture diagnostics #59218 does not have.FrameArrived timed out) plusGetCursorPos failed: Access denied. No indexed-click isolation; the failure sits in capture/cursor-position, not the click-preparation path.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