Skip to content

Overflow widgets at the notch and show them in a popup #313

Closed

Description

@Seb-GRAF

Problem

When one side of a notched bar runs out of room:

  • Widgets leave by lowest priority, then latest in the configuration (Sources/StableBar/LayoutConfiguration.swift:122). On the right of the notch that is usually the far-right widget, such as the clock, not the widgets next to the notch.
  • A single More widgets button sits at the bar's right edge for both sides (LayoutConfiguration.swift:104). Widgets that leave the left side end up on the far right, and the button's reserved width shrinks the right side even when only the left side overflowed (:101).
  • The button opens a native menu of text titles (Sources/StableBar/BarView.swift:152). Icons, graphs, sliders and styles are lost; only popups, click actions, workspaces and app menus stay usable.
  • The button appears and disappears without a transition (BarView.swift:60).

Proposal

  • Overflow at the notch. On a notched display, each side gives up the widgets next to the notch first: the rightmost on the left side, the leftmost on the right side. priority still comes first, and "overflow": "never" still keeps a widget.
  • One button per side, against the notch. The widgets that leave a side fold into a More widgets button at that side's notch edge. Each side reserves room only for its own button.
  • A popup with the widgets themselves. Clicking the button opens a StableBar popup that draws the hidden widgets as they look on the bar, in bar order, and keeps them working: clicks, hover, their own popups, workspaces and app menus. It replaces the native menu on every display.
  • Smooth motion. The button fades in and out, and the widgets beside it slide, with bar.motion. Reduce Motion turns the motion off.
  • Displays without a notch keep one button at the right edge and today's order.
  • A widget's own popup opened from the overflow popup replaces it, anchored to the button, as the native menu does today.
  • Update the More widgets paragraph in Adaptive layout and groups.

Possible today

Partly. Giving the widgets far from the notch a higher priority makes the ones next to it leave first. The button's place and the native menu can't be changed.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 24, 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

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions