Repository navigation
Description
What happens
With Edit Bar in Place, a position with more widgets than fit runs past the screen edge. On a notched MacBook, the right side only has the space between the notch and the edge, so with a busy right side the last widgets end up off screen, and you can't grab them to move or remove them. The faded edge and arrows that should mark a scrolling tray never show, and the mouse wheel does nothing.
Steps to reproduce
- Put more widgets in Right than fit beside the notch (about 15 on a 14" MacBook Pro).
- Choose Edit Bar in Place.
- Look at the right end of the bar.
Expected
Every widget stays on the screen and can be dragged, while editing.
Environment
- StableBar 0.11.0-beta.20261103222446.601
- macOS 27.2, built-in display with a notch (1512 pt wide)
Evidence
Drawn offscreen with 4 widgets on the left and 18 on the right of a 1512 pt notched display: the layout gives the right tray 549 pt, but the tray's view is 2188 pt wide, and its widgets reach x = 3132. The same happens without a notch whenever one position gets less room than its widgets need, as in the screenshot above.
Diagnosis
BarEditLayout (Sources/StableBar/BarEditing.swift) sizes each tray correctly. The tray sits in BarEditDropTargetView (Sources/StableBar/BarEditDrag.swift), an NSView hosting the SwiftUI row, and it reports the row's one-line width as its intrinsic size. That constraint has compression resistance 750, which beats the 500 priority of the width SwiftUI gives the view, so Auto Layout stretches the tray and its ScrollView to the full content width. The scroll view then has nothing to scroll, and nothing clips the widgets.
The existing scroll test still passes, because BarEditScrollWheelView moves the clip view to an offset computed from the layout, not from the real view sizes.
Related
- feat: customize StableBar without editing the configuration file #103 added edit in place with scrolling trays.
- Widgets on the main display take no clicks or drags while editing the bar in place #345 fixed clicks and drags on the main display while editing, a different problem.
- feat: overflow widgets at the notch into a popup of the widgets themselves #316 moves the normal bar's notch overflow into a popup. It doesn't cover edit mode.
Triaged by Claude Code (Claude Opus 5.5).

Activity
chore(release): 0.11.0 [skip ci]
stablebar-releases commentedon Nov 6, 2026
🎉 This issue has been resolved in version 0.11.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀