Skip to content

Long errors stretch the bar's menus #448

Closed

Description

@M4n0x

What happens

The bar's right-click menu and the menu-bar icon's menu show the current configuration error, workspace error or configuration warning as a disabled item, on one line, at full length. A long message makes the whole menu as wide as the message, several times wider than its commands. The line is greyed out, so it can't take the person to the fix.

Steps to reproduce

  1. With no window manager running, put a Workspaces widget on macOS Spaces, with Switch to Desktop 1 off in System Settings → Keyboard → Keyboard Shortcuts → Mission Control.
  2. Click desktop 1 in the widget.
  3. Right-click the widget.

Expected

The menu keeps its usual width. A long message is shortened or wraps, the full text stays in Settings → Status, and choosing the line opens Status.

Environment

StableBar 0.11.1-beta.20261107124053.624, macOS 27.2.

Evidence

Right-clicking the Workspaces widget after clicking desktop 1, with Switch to Desktop 1 off:

The bar's right-click menu stretched by the Switch to Desktop 1 message

Diagnosis

On main (9494cc7):

  • Sources/StableBar/BarView.swift: BarContextMenu adds Text(error) for configurationError ?? workspaceStore.error ?? configurationWarning.
  • Sources/StableBar/StableBarApp.swift: the menu-bar icon's menu adds the same message with menu.addItem(withTitle: error, action: nil, …).
  • Configuration errors, which name files and keys, can be just as long, so this isn't specific to Spaces.

Related

Triaged by Claude Code (claude-opus-5-5).

Activity

  1. added
    bug
    P2
    on Nov 7, 2026
  2. stablebar-releases commented on Nov 11, 2026

    @stablebar-releases

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

Labels

P2bugreleased

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions