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
Refusal message: name a covering window of the same app (stable Chrome's omnibox popup) instead of blaming the page #317
In stable Chrome, ⌘L opens the omnibox suggestion popup over the page. A click on a page button is then correctly refused: the hit-test finds nothing in the target window (noHit). But the refusal message blames the page, when the button is covered by another window of the same app.
This was 3 of 4 on hosted macOS (Chrome 156.0.8078.80). Chrome for Testing pressed 4 of 4.
Proposal (P3)
When the point lies under a window of the same app, name that covering window in the refusal message.
Evidence
#287's findings: #287 (comment). Kit: probe/287-hosted, run 42375146858.
Finding: #316's rule W already covers the case this ticket filed
Proposal: close #317 as covered by #316 (PR #332, merged in 81a4309). One narrower case is left. It needs engine code and a measurement first, so it belongs in a ticket of its own (below).
The case filed: the popup opens after the screenshot
On #287's main, the hit-test answered nothing in the target window, so the stale-point guard kept the point (noHit). #282's walk then refused it as a possible web area, with "Google Chrome's web page does not accept a background click…".
Since #316, the guard reads the window list before the tree (guardedPointVerdict, StalePoint.swift). Chrome's omnibox popup is a layer-0 window of Chrome's above the screenshot's window that the screenshot's list did not hold, so rule W refuses first (newWindow), wherever the popup lies. deliverPointer throws that refusal before #282's activation or refusal runs, in both desktop modes.
The cmdL sequence (⌘L, then a coordinate click from the screenshot taken before it): on the branch, 8 of 8 were refused newWindow, with stalePoint.newWindow 1858, the popup. That covers the button, checkbox, link and textarea, in shared and dedicated mode. On main, all 8 landed: the popup (499, 56, 458×138) did not cover those points.
Every refusal's message names the covering window of the same app:The screen changed since the screenshot: Google Chrome has opened a window over the one the screenshot showed, which can take the click. Nothing was sent. Call getScreenshot for a new screenshot, then give the coordinates in its pixels.
That is this ticket's proposal. The A/B ran Chrome frontmost. #287's cell ran it behind TextEdit, and W does not depend on which app is frontmost: Safari behind a frontmost TextEdit was refused newWindow 32 of 32 in the same A/B.
What is left: the popup is already up in the screenshot, over the point
Here W passes, since the screenshot's list holds the popup. The hit-test answers no element of the target window, as on #287's main: windowHit (Input.swift) turns a hit in another window of the app into nil. The guard keeps the point (noHit). Then:
Chrome frontmost, or dedicated mode: the click is posted and goes to the popup, which is what the screenshot showed.
This case is not measured. The A/B's cmdLreobs cells (⌘L, a re-observation that held the popup, then a click) all clicked outside the popup's bounds (holdsPoint false, 16 of 16), and all ran Chrome frontmost.
What a fix needs, all engine Swift:
windowHit reports a hit in another window of the same app as its own outcome, the window's number included, instead of nil.
Measure first, with a background stable Chrome behind TextEdit, ⌘L, a re-observation, then a click inside the popup. Check that the refusal is what arises, and whether a click there ought to be carried at all.
Sminos-Session: cursor235#b93055dd (cua on macbook)
[board] done: Covered by #316's new-window rule (PR #332, 0.27.9): stable Chrome's omnibox after Cmd-L is refused newWindow, 8/8 in #316's A/B. The remainder, a click inside a popup that is already in the screenshot, moves to its own ticket.
Activity
SSFSKIM commentedon Nov 9, 2026
Finding: #316's rule W already covers the case this ticket filed
Proposal: close #317 as covered by #316 (PR #332, merged in 81a4309). One narrower case is left. It needs engine code and a measurement first, so it belongs in a ticket of its own (below).
The case filed: the popup opens after the screenshot
On #287's main, the hit-test answered nothing in the target window, so the stale-point guard kept the point (
noHit). #282's walk then refused it as a possible web area, with "Google Chrome's web page does not accept a background click…".Since #316, the guard reads the window list before the tree (
guardedPointVerdict, StalePoint.swift). Chrome's omnibox popup is a layer-0 window of Chrome's above the screenshot's window that the screenshot's list did not hold, so rule W refuses first (newWindow), wherever the popup lies.deliverPointerthrows that refusal before #282's activation or refusal runs, in both desktop modes.Measured in #316's hosted A/B (run https://github.com/SSFSKIM/cua/actions/runs/42506462753, stable Chrome 156; per-job results in
~/.local/share/probe-316/run-42506462753/on the MacBook):newWindow, withstalePoint.newWindow1858, the popup. That covers the button, checkbox, link and textarea, in shared and dedicated mode. On main, all 8 landed: the popup (499, 56, 458×138) did not cover those points.The screen changed since the screenshot: Google Chrome has opened a window over the one the screenshot showed, which can take the click. Nothing was sent. Call getScreenshot for a new screenshot, then give the coordinates in its pixels.That is this ticket's proposal. The A/B ran Chrome frontmost. #287's cell ran it behind TextEdit, and W does not depend on which app is frontmost: Safari behind a frontmost TextEdit was refused
newWindow32 of 32 in the same A/B.What is left: the popup is already up in the screenshot, over the point
Here W passes, since the screenshot's list holds the popup. The hit-test answers no element of the target window, as on #287's main:
windowHit(Input.swift) turns a hit in another window of the app into nil. The guard keeps the point (noHit). Then:This case is not measured. The A/B's cmdLreobs cells (⌘L, a re-observation that held the popup, then a click) all clicked outside the popup's bounds (
holdsPointfalse, 16 of 16), and all ran Chrome frontmost.What a fix needs, all engine Swift:
windowHitreports a hit in another window of the same app as its own outcome, the window's number included, instead of nil.Measure first, with a background stable Chrome behind TextEdit, ⌘L, a re-observation, then a click inside the popup. Check that the refusal is what arises, and whether a click there ought to be carried at all.
Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM commentedon Nov 9, 2026
[board] in-progress: Found covered by #316's work (fix/316-overlay-guard)
SSFSKIM commentedon Nov 9, 2026
[board] in-review: Covered by PR #332
SSFSKIM commentedon Nov 9, 2026
[board] done: Covered by #316's new-window rule (PR #332, 0.27.9): stable Chrome's omnibox after Cmd-L is refused newWindow, 8/8 in #316's A/B. The remainder, a click inside a popup that is already in the screenshot, moves to its own ticket.