Repository navigation
macOS engine: a click on a row of Chrome's omnibox popup, its permission bubble or an AppKit popover goes through the recorded row's own action (0.28.30) - #484
Merged
Conversation
…ow is carried by AXPress on that row's own handle (refs #453) Ruling 1071. Where main answers a plain left click with appWindowOverPoint and the window over the point is Chrome's omnibox popup, its datalist list, its permission bubble or an AppKit popover, the row the screenshot's record holds at the point is pressed by its recorded handle (ScreenshotNode.element; the walk already records these rows, so the observation is unchanged). The hit #452 took only locates the overlay's subtree in the record; the row is its deepest recorded node at the point, all such nodes nested. At click time the handle must be alive, read the recorded role and label, sit within 2 pt of its recorded frame after the window's shift, and be enabled; anything else keeps main's refusal. No mouse event, no activation. Confirmed when the overlay's window leaves or the row dies within 500 ms, else clickUnconfirmed. Meta overlayClick {window, by, kind, route: "action", confirmed} or {..., refused}. Sminos-Session: cursor235#b93055dd (cua on macbook)
…s own action, and a permission prompt's Allow grants what the site asks (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
…ress on the recorded row's handle, in the Decision Log (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
… button or popover item the screenshot showed goes through that row's own action (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
…ns: window-only confirmation, one recorded overlay, a whole row of a row's role, each label part, the identity again before the press (refs #453) Ruling 1072. A row dying no longer confirms; only the overlay's window leaving does. The screenshot must have listed exactly one window of the app's over the observed one at the point, the one the hit reaches now (the capture now lists the on-screen windows with their bounds and the captured window's number, one CGWindowListCopyWindowInfo, about 0.3 ms). The row's recorded subtree must be whole (the record's existing child-read map and subtreeRecorded), and its role one the kind's rows take, so a list's or dialog's padding refuses. Title, description and a text's value are compared each on its own. The identity is read again after the owner's and intervention's preparation, just before the AXPress. Sminos-Session: cursor235#b93055dd (cua on macbook)
…set per call (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
…on Log, and the surface inventory's confirmation (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
…ickUnconfirmed, even when the window then leaves (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
…ecorded chain, its coverage scoped to the row and what lies at the point with absent AXChildren a leaf, and the meta names the row and what a refusal stands on (refs #453) Ruling 1082, after the counted qualification delivered only the permission prompt. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ted nodes, must be the list's direct child at the point, and its whole subtree and its list recorded, a leaf only an explicit absent AXChildren (refs #453) Ruling 1083, the final wave: the focused review's 4 P1 and 3 P2, each a refusal. Sminos-Session: cursor235#b93055dd (cua on macbook)
… delivered by the recorded row's AXPress, the datalist left refused (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
…st suggestion and a control inside a row keep appWindowOverPoint (refs #453) Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM
marked this pull request as ready for review
November 22, 2026 23:48
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 23, 2026
SSFSKIM
added a commit
that referenced
this pull request
Nov 23, 2026
Main since dfe6f44: the macOS engine's stale-point guard on a kept decoration in another control (#477, 0.28.29), and a click on a row of Chrome's omnibox popup, its permission bubble or an AppKit popover carried by the row's own action (#484, 0.28.30), with its agent-cursor document, the docs oracle and the macOS engine service's meta key. Conflict, resolved for both sides: docs/cua-api/PROVENANCE.md (main's agent-cursor row, feat's linux-engine row). The plugin stays main's 0.28.30. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #453. Version 0.28.30. Design rulings 1067 and 1069–1084.
The gap
Main refuses (
appWindowOverPoint, #452) a plain left click whose point lies in one of the app's own windows over the observed one. That covers Chrome's omnibox suggestion popup, its site-permission bubble, its datalist/autofill list, and an AppKit popover such as TextEdit's colour picker. The model sees the row in the screenshot, clicks it, and is refused.The fix
OverlayClick.swift, hooked atInput.swiftbefore #454. The route applies only where main would answer a plain left click withappWindowOverPoint, and only when the window over the point is one of the known overlay kinds. In that case it presses the row the screenshot recorded at the point, by AXPress on the row's own recorded handle. It never posts a mouse event, never activates the app, and never re-finds the row by hit-test.kAXErrorAttributeUnsupportedorkAXErrorNoValueon AXChildren counts as a leaf.clickUnconfirmed.overlayClick {window, by, kind, route: "action", confirmed, row}, and on a refusalrefusedBy {role, reason}, forwarded to the MCP result.CGWindowListCopyWindowInfo,screenshotWindowsListedMsp50 0.6 ms. Per framed node, the record keeps whether its children were read whole. Nothing new reaches the model's view.Evidence
docs/evidence/2026-11-22-overlay-axpress/README.md. The kit isprobe/453-measure, README §"#453 qual, counted on the final head" at dd26228. Fix a8307c6 (counted run 45075999203, 281 rows) against main 5580ac2 (45061006010, 263 rows; Remove-suggestion baseline 45074375354).actionableDescendant, #483)activationFailedin a parity cell (pinned: main 2/20, fix 1/20; #485)labelChanged, nothing takendecomoveon the fix headcontrolGone40/40The AXPress spike on main (45050307595) found that a bare AXPress on the recorded row is free of activation and window movement: frontmost 0/105, raised 0/75.
Review. The parked post route (fix/453-overlay-click) was replaced by this route after its third review round (ruling 1067). This route's rounds:
swift test: 1644 run, 0 failures, 1 skipped. The service and docs tests pass.Limits
labelChanged); while the list is changing, the click refuses rather than delivers.Sminos-Session: cursor235#b93055dd (cua on macbook)