Skip to content

A widget with no visible output yet shows an empty pill, or only a red dot when its script fails #379

Closed

Description

@Seb-GRAF

What happens

A script widget whose layout shows nothing yet still draws its background, padding and border: a small empty pill. This happens before the first output, or when every block uses hideWhenEmpty and none has a value. When the script then fails, the 8 pt error badge sits over that empty pill, and the bar shows a lone red dot.

Steps to reproduce

  1. Add a script widget whose layout is a row of blocks that all use hideWhenEmpty, and whose command takes a few seconds or exits with an error.
  2. Start the bar.

Expected

Until the widget has something to show, it takes no space. A failed widget with no content shows its icon with the error badge, not a bare dot.

Environment

StableBar v0.9.0-beta (main 71fe38f), macOS 26, built-in display, AeroSpace. Seen with the phoenix-work package (1.0.2).

Evidence

Screenshots: an empty pill before the script answers, then a red dot after it fails.

Diagnosis

Sources/StableBar/BarView.swift: the widget tile applies padding, GlassBackground and the border whatever its layout renders. The error overlay is exclamationmark.circle.fill at 8 pt, aligned top-trailing on the tile.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Oct 29, 2026
  2. stablebar-releases commented on Nov 2, 2026

    @stablebar-releases

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