Skip to content

A widget group wider than its tray is cut off while editing the bar in place #430

Open

Description

@M4n0x

What happens

While editing the bar in place, a widget group wider than its whole tray is cut off at the tray's edge. Crowded trays wrap onto more rows (#429), but a group is drawn as one piece and can't be split across rows, so it takes a row of its own and the part past the tray's edge is hidden. The visible part can still be dragged, which moves the whole group, but a hidden member's − badge and its click to open settings can't be reached there. Settings → Bar still lists every widget.

On main before #429, the same group ran past the screen edge instead.

Steps to reproduce

  1. Put a group whose widgets add up to more than the space beside the notch in Right on a notched MacBook, or give one grouped widget "style": { "width": 1500 }.
  2. Choose Edit Bar in Place.
  3. Try to remove or click the group's last member.

Expected

Every member of a group can be reached while editing, as every widget can since #429.

Environment

Diagnosis

BarEditFlow (Sources/StableBar/BarEditFlow.swift) gives an item wider than the tray a row of its own without shrinking it, and BarEditSection (Sources/StableBar/BarEditView.swift) clips the tray. BarEditLayout (Sources/StableBar/BarEditing.swift) sizes trays from their widgets' one-row width only, so it doesn't know a tray holds a group wider than its share. Possible directions: give a tray at least its widest group's width when that side of the bar has room, or let only a row holding an oversized group scroll sideways.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    bugSomething isn't working
    on Nov 4, 2026
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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions