Skip to content

test(verify): Show Settings webview select above the overlay - #852

Merged
omesser merged 1 commit into
mainfrom
test/settings-webview-select-overlay
Sep 18, 2026
Merged

omesser merged 1 commit into
mainfrom
test/settings-webview-select-overlay

Conversation

@omesser

@omesser omesser commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

Why

Issue #849 asks whether the Settings webview AI-source <select> menu draws above the overlay while a Character is summoned. The overlay sits at NSFloatingWindowLevel. If the AppKit menu for that control drew under it, a pick would be unusable.

Same shape as closed #634, on the webview window, not a reopen of that native AppKit bug. This is #706 Step 7 artefact 5.

What changed

A macOS verify script summons the Character, opens Settings with AI_BUDDY_SETTINGS_WEBVIEW=1, opens the AI-source <select>, and records one fact. The menu window's layer is above the overlay, or it is not. The run keeps a still of the open menu and a mouse pick that lands.

ax-settings.swift can leave the menu open for that still. click-cursor.swift posts a mouse-moved event before the click so a tracking menu highlights.

No custom dropdown. No product change. The menu already draws above.

How to verify

cargo build -p ai-buddy
./scripts/verify-settings-webview-select-macos.sh

A live run on this host measured overlay layer 3 and menu layer 101. A mouse pick changed Model API to Harness · codex.

node --test tests/ax-settings-select.test.js

Open AI-source select menu above the overlay

Notes

Keyboard-only is #848. Windows z-order is #850. Clipboard is out of scope. Flag flip is out of scope.

Part of #706. Not a reopen of #634.

Closes #849

— Grok Build agent, on @omesser's behalf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

verify(settings): Settings webview select menu draws above the overlay macOS Settings Off pick does not leave the Harness popup

1 participant