Skip to content

macOS engine: #458's pop-up press goes only to pop-ups known to open a menu; Chrome's toolbar views keep the posted click (0.28.27) - #473

Merged
SSFSKIM merged 6 commits into
mainfrom
fix/469-popup-menu-only
Nov 22, 2026

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Closes #469. Version 0.28.27. Design rulings 1036, 1039 and 1044.

The bug

#458 (PR #467) carries a coordinate click on a closed AXPopUpButton as its AXPress. Chrome's site-information and tab-search buttons are AXPopUpButtons that open a layer-0 bubble, not a menu. With Chrome behind the person's window, the press made Chrome frontmost and covered the person's window, 10/10 each. The answer was a false clickUnconfirmed.

The fix

  • macOS engine: a background click on a closed pop-up button (TextEdit, Script Editor, Chrome <select> dedicated) answers ok but no menu opens #458's AXPress now goes only to pop-ups known to open a menu: a web page's <select> (recognised as before), AppKit pop-up buttons, and the combo-box arrow.
  • An AXPopUpButton outside any web area whose element answers AXDOMClassList is a browser view. It keeps main's posted click (popUpClick.kept: "browserView").
  • An AXDOMClassList read that fails for any reason other than "unsupported" keeps main's path too (viewClassUnread).
  • No pre-press attribute separates Chrome's menu buttons from its bubble buttons except the view class. No class allowlist was adopted, so the app menu is posted too.
  • The code is in PopUpPoint.swift (popUpViewClass), with fakes built from the measured attribute shapes. The docs sentence now names what is pressed, its byte-equal copies are updated, and there is a Decision Log entry.

Evidence

docs/evidence/2026-11-21-popup-menu-only/README.md. Kit probe/463-measure, README §"#469 qual" at f50b970. The fix 88c2421 ran 44974548214, against main 1a1956b in 44977678919, 170 rows each. The head differs from 88c2421 only in docs wording and the evidence.

Review. reviewer-medium: code correct. One P3 docs finding, that the qualifier was narrower than the code, was fixed in 6e57876. swift test: 1582 run, 0 failures, 1 skipped.

Limits

Sminos-Session: cursor235#b93055dd (cua on macbook)

…s and a page's <select>; a browser view's keeps the posted click (refs #469)

Ruling 1036. Chrome's site information and tab search are AXPopUpButtons that open a layer-0 bubble; #458's press
made Chrome frontmost over the person's window and answered a false clickUnconfirmed (#463's run 44959835166). No
generic attribute tells them from a menu before the press (#469's signal run 44970638020), but every Chrome view
answers AXDOMClassList and every AppKit pop-up answers -25205 (unsupported). So outside a web page an AXPopUpButton is
pressed only when AXDOMClassList is unsupported; a value read keeps main's path (kept "browserView", Chrome's app menu
included, not allowlisted), any other error, no value included, keeps it too (kept "viewClassUnread"). The read comes
before the enabled, expanded and window-list reads. The <select> (decided by its web area and recorded option), the
combo box's arrow, ancestryUnread, the 1.5 s wait, the effect check and the restore are unchanged.

Sminos-Session: cursor235#b93055dd (cua on macbook)
…s not delivered as its action (refs #469)

#458's first sentence of the stale-point paragraph gains "(other than a button in a browser's own toolbar or tab
strip)", in agent-cursor.md, the test's expected text and the parity docs oracle; the surface inventory's Table 3
amendment and PROVENANCE.md record it.

Sminos-Session: cursor235#b93055dd (cua on macbook)
…cision Log, and the meta's new kept values (refs #469)

Sminos-Session: cursor235#b93055dd (cua on macbook)
… (refs #469)

Sminos-Session: cursor235#b93055dd (cua on macbook)
…p button or a page's <select>, not only a browser's toolbar as the exception (refs #469)

The review of 1a1956b..88c2421 (P3): the qualifier was narrower than the code, which keeps the posted click for any
browser view's pop-up button outside a page (a bubble's dropdowns too). The sentence now reads "A click on a closed
pop-up button in a native app (not one of a Chromium-based app's own buttons), a web page's `<select>`, or a combo box's
arrow, ...", in agent-cursor.md, the test's expected text, the parity docs oracle and the surface inventory's
amendment; the Decision Log entry quotes it. PROVENANCE.md names the amendment, unchanged.

Sminos-Session: cursor235#b93055dd (cua on macbook)
…ger left frontmost (refs #469)

Sminos-Session: cursor235#b93055dd (cua on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T03:36:12.814656Z e2cde75 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit 9c6368c into main Nov 22, 2026
7 checks passed
SSFSKIM added a commit that referenced this pull request Nov 22, 2026
Main's tree equals #469's head e2cde75, which this branch already holds apart from
the evidence file; conflicts from the squash were resolved to this branch's side.

Sminos-Session: cursor235#b93055dd (cua on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant