Skip to content

A tooltip opens shrunken and blurred, then grows to its size #244

Closed

Description

@M4n0x

What happens

When a widget's tooltip opens, its height glitches: for a moment it shows up slightly too small, with faint, blurred text, and then it grows to its real size.

Steps to reproduce

  1. Give a widget a tooltip, or use one whose script prints one, such as the battery widget.
  2. Hover over the widget until its tooltip opens.
  3. Watch the tooltip's first moment on screen.

Expected

The tooltip appears at its final size with sharp text, like the click popups do.

Environment

  • StableBar main at 29d50f4 (after 0.6.0-beta.306)
  • macOS 26.6.2
  • Seen on a 1× external display (Dell U2722D, 2560 × 1440) with the Tonhalle Line theme

Evidence

A temporary test opened a tooltip behind the wallpaper and captured its window every ~1.5 ms with CGWindowListCreateImage:

Window animation First frame composited Changes before it settles
Default (current) 172 × 52 px, blurred text 3, over about 30–40 ms
animationBehavior = .none 176 × 54 px, final and sharp none (3 runs)

Diagnosis

WidgetPopup.showTooltip (WidgetPopup.swift:185-232) builds a PopupPanel and orders it in at full opacity, keeping the default animationBehavior. macOS plays its zoom-in on that window, so the tooltip first composites scaled down.

Click popups don't show it: open sets alphaValue = 0 before ordering the panel in and fades it in itself. A popup captured the same way had a single frame at its final size, with or without the system animation. The bar's other panels (StableBarApp.swift, BarEditControls.swift, ThemeTrialPanel.swift) already set animationBehavior = .none.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Oct 22, 2026
  2. stablebar-releases commented on Oct 23, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.6.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions