Skip to content

Long tooltips spill out of their card #288

Closed

Description

@Seb-GRAF

What happens

A tooltip whose text is wider than the 320 pt limit wraps onto a second line, but its card keeps the height of one line. The wrapped lines draw above and below the card.

Steps to reproduce

  1. Use a widget whose tooltip is a long sentence, such as the AI usage package's Claude session 84% left · Codex weekly 77% left, with a monospaced font.
  2. Hover over it until the tooltip opens.

Expected

The card grows to fit the wrapped lines, as popups do.

Environment

  • StableBar main at aa78e25
  • macOS 26.6.2

Evidence

A test that hovers a widget whose tooltip is one long sentence gets a tooltip window 39 pt tall, the height of one line. A screenshot will follow.

Diagnosis

WidgetPopup.showTooltip (Sources/StableBar/WidgetPopup.swift) sizes the tooltip's window from the hosting view's fittingSize, which lays the text out on one line. .frame(maxWidth: 320 - shadowInset * 2).fixedSize() caps that width but keeps the one-line height, and the text then wraps inside the capped width and overflows.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

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

    @stablebar-releases

    🎉 This issue has been resolved in version 0.8.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