Skip to content

macOS engine: a click on Chrome's omnibox popup is answered ok but lands on the page under it (frontmost and dedicated modes) #452

Closed

Description

@SSFSKIM

Defect

A wrong click answered ok. With Chrome frontmost, or on a dedicated desktop, a click aimed at a row of Chrome's omnibox popup is posted and answered ok. It lands on the page element under the popup, and the popup closes. The suggestion is never taken.

Cause: the engine stamps pointer events with the observed window's id and a point local to that window (stampWindow, Mouse.swift, fields 91/92). The popup is a separate layer-0 Chrome window above the browser window, so Chrome routes the event to the browser window beneath. The stale-point guard keeps the point (noHit), because windowHit (Input.swift) turns a hit in another window of the same app into nil.

Measured on main d44a4fe (kit probe/337-measure, README fbe9e642; runs 44797144792 and 44799499336; Chrome 156 and 157):

Work

Design ruling 928:

  • Rule: refuse before posting when the topmost window at the point is another window of the same app, since the post would be stamped to the observed window. This is the invariant itself, not a list of window kinds.
  • Sentence: name the app's own window over the observed one, and the way through: keys, or a fresh screenshot and a target the tree holds. Don't blame the page.

One PR fixes this and #337.

Check

These qualification cells run on both main and the fix:

  • the omnibox popup, in all three modes;
  • a Chrome <select> dropdown;
  • autofill;
  • a permission bubble;
  • a native app's popover, and its menu window;
  • a click outside each, which must still land.

If main reaches one of these correctly today, the fix carves it out according to what the measurement shows. Nothing main lands may become a refusal without a line in the PR's limits and a ticket.

Related: #337. Re-aiming at the popup's own window is a separate P3 ticket.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 20, 2026
  2. SSFSKIM commented on Nov 20, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: claimed by cursor235: ruling 928, one PR with #337

  3. added 9 commits that reference this issue on Nov 20, 2026
  4. 4 remaining items

  5. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR open

  6. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    [review-trail] reviewer-high on 0469183..023a3be: incorrect (2 P1, 4 P2); fixed e98276d (1 to debt); re-review incorrect (1 P1, 1 P2); fixed bbe42e2; stopped (last wave). Hosted qual bbe42e2 run 44837693749 (README 50e267c). PR #455

  7. removed
    status:in-review
    on Nov 21, 2026
  8. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #455 (cua 0.28.23)

  9. added 9 commits that reference this issue 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:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions