Skip to content

Tray: no tooltip on macOS, it stayed on screen - #5

Merged
bl0rb merged 1 commit into
mainfrom
fix/tray-tooltip-macos
Nov 18, 2026
Merged

bl0rb merged 1 commit into
mainfrom
fix/tray-tooltip-macos

Conversation

@bl0rb

@bl0rb bl0rb commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Problem

On macOS the menu-bar tooltip "Weave" sometimes stays on screen and never goes away.

Cause

tray-icon (0.25.1) covers the NSStatusBarButton with its own TrayTarget subview, which takes all mouse events. The tooltip, however, is set on the button underneath, so AppKit never sees the pointer leave it and the tooltip window lingers, especially after a click that opens a window.

Fix

Set the tray tooltip only on Windows/Linux. macOS menu-bar items don't need one.

Checks

  • cargo check on macOS: no warnings
  • Windows target not checked locally

🤖 Generated with Claude Code

tray-icon covers the status-bar button with its own view that takes the
mouse events, so AppKit never sees the pointer leave the button and the
tooltip stays on screen. Windows and Linux keep the tooltip.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bl0rb
bl0rb merged commit 1552224 into main Nov 18, 2026
3 checks passed
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.

1 participant