Repository navigation
fix(mac): hover, tooltips and Esc in the menu bar panel (0.9.1) - #614
Merged
Merged
Conversation
Owner: no hover on Settings or Quit and nothing said what the icons were. macOS refuses to activate Wind now and then when the panel opens (e2e_menubar: active false, key false), and WebKit draws hover and shows title tooltips only while its app is active; keys then also go on to the app behind. - PanelPointerView tracks the pointer with an .activeAlways tracking area and calls window.__windPointer; the page sets a hov class (rules :global, or Svelte strips them) and draws its own tooltips from data-tip after 500 ms, for every icon-only control. - The panel is non-activating, so it is key and clicks land whether or not activation is allowed; activation is still asked for (keyboard) and handed back on close. - Esc is taken by Wind's event tap while the panel is open. - e2e_menubar: hover and tooltips after a real icon click; Playwright: host-driven hover and tooltips, no native titles left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SkyGaRR4SfGTQsbXTHuVBA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Owner report: no hover on Settings or Quit in the menu bar panel, and no tooltips saying what the icons are.
Measured (e2e_menubar): when the panel opens, macOS sometimes refuses to activate Wind (
active false, key false). WebKit only draws hover and showstitletooltips while its app is active, and keys then go on to the app behind (Esc did nothing).Fix
PanelPointerViewtracks the pointer (.activeAlways) and callswindow.__windPointer(x, y). The page sets ahovclass (CSS rules:global, or Svelte strips them) and draws its own tooltips fromdata-tipafter 500 ms for every icon-only control (toggles, slider icons, engine, Settings, Quit). Nativetitles removed so nothing doubles.mac/docs/architecture.mdmenu bar panel section. Mac 0.9.1.Tests
e2e_menubar.pyall pass, including new checks: hover and tooltip on Settings and Quit after a real icon click; Esc closes.e2e.py,e2e_caret.py,e2e_syszoom.pyall pass (Magnifier key path touched).mac/ui: Playwright 344 passed (new: host-driven hover and tooltips, no native titles);npm run test:rules26 passed.swift run wind-checkspass.🤖 Generated with Claude Code
https://claude.ai/code/session_01SkyGaRR4SfGTQsbXTHuVBA