Repository navigation
fix(mac): AppKit tooltips while zoomed (0.5.3) - #556
Merged
Merged
Conversation
Hiding the real cursor during motion (0.5.2) killed every AppKit tooltip: NSToolTipManager checks NSCursor._isHidden once, when the pointer enters the tooltip rect. TooltipNudge: at rest, if the element under the pointer has AXHelp in the frontmost app, a 4x4 near-transparent panel sits under the pointer for 25 ms so the app sees a re-entry with the cursor shown. Once per visit. scripts/tooltip_truth.py; the hand-over log names the window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SkyGaTJWN7aoebcu1GASvL
…flicker seen) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SkyGaTJWN7aoebcu1GASvL
…per element (owner 2026-11-07: worse) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SkyGaTJWN7aoebcu1GASvL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SkyGaTJWN7aoebcu1GASvL
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.
Owner 2026-11-06: no tooltips in Xcode while zoomed, hover effects fine.
Cause. 0.5.2 hides the real cursor while the pointer moves (the tiny-cursor fix). AppKit's
-[NSToolTipManager mouseEnteredToolTip:inWindow:pointInWindow:]checksNSCursor._isHiddenonce, when the pointer enters the tooltip's rect, and starts no timer if hidden (ipsw dyld disass). Later moves never start one: a zero-distance recheck, one moved by 0.5 pt, one with a delta, and a second recheck were all tried. So no tooltip ever came, on any engine.Fix:
TooltipNudge.Also.
Tests.
scripts/tooltip_truth.py(new)--pausesNot changed: Transform with Wind's cursor keeps the real cursor hidden throughout, so it has no tooltips there.
🤖 Generated with Claude Code
https://claude.ai/code/session_01SkyGaTJWN7aoebcu1GASvL