Skip to content

macOS engine: the element route's recheck can miss an own-app popup still at alpha 0, or one opening between the recheck and the dispatch #464

Open

Description

@SSFSKIM

Problem

#456 makes the element route recheck the point after its waits with #452's same-app overlay rule. Hosted qualification (kit probe/456-qual, README scripts/probe-456/README.md at fdf9c19; runs 44917004422 and 44921009991; main edbfbd2, fix 6f1224e) found two narrow windows where a popup of the app's own still ends up over the point when the press goes out:

  1. Popup still at alpha 0 at the recheck. In 1 of 38 in-window race rows, the recheck's hit-test (267 ms, inside the 500 ms deadline) answered while Chrome's omnibox popup window was listed but at alpha 0 (listed at 219 ms, shown at 380 ms). macOS engine: a click on Chrome's omnibox popup is answered ok but lands on the page under it (frontmost and dedicated modes) #452's covering check requires alpha above 0, so the click was kept, and the press went out at 408 ms, after the popup had shown.
  2. Reads between the last recheck and the dispatch. On the field routes, the caret reads between the recheck and the focus write took 100–200 ms, and nothing checks again after them. In 3 rows the popup opened 2–28 ms before the write. Main wrote under the popup in 1 such row.

Main presses under the popup in every such case (18/18 in-window race rows), so neither is a regression. Under ruling 891 this is its own ticket and a limits line on #456's PR.

What to do

  • For (1): decide whether a same-app window listed over the point at alpha 0, with the hit in it, should count as covering, or whether to re-read just before the press. Measure how often an alpha-0 same-app window over the point never shows (a false refusal) before choosing.
  • For (2): move the last recheck to after the caret reads, or bound those reads, so the check sits next to the dispatch.

Check

  • The probe/456-qual race cell: no in-window row presses under the popup.
  • The field jitter rows refuse.
  • Parity cells are unchanged.

Related: #456, #452.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P3
    on Nov 21, 2026
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

    bugpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions