Repository navigation
Description
What happens
Since #609 (25ebac4, in 0.15.0-beta.20261113062409.996), the Settings window can't be narrower than 622 points, in any section. When a tiling window manager tiles Settings narrower than that, for example three columns on a 1512-point screen at about 490 points each, the window stays 622 points wide and spills over the next tile. Before #609, Settings followed the tile down to 428 points in Profiles, Status and Help, 446 in General, 520 in Packages and 562 in Bar. Only Theme already needed 616.
Between 622 and about 640 points, the Packages tab's label is also cut to "Packa…".
Steps to reproduce
- Open Settings with a window manager that sets window frames itself, such as AeroSpace, OmniWM or yabai.
- Tile it narrower than 622 points, for example three windows side by side on a 13-inch screen.
- The Settings window stays 622 points wide and covers part of the next tile.
Expected
Settings follows the tile at least as narrow as it did before #609. The tabs and the search field still never overlap (#608), and the tabs stay centred at the default width.
Environment
mainat 25ebac4 (0.15.0-beta.20261113062409.996)- macOS 27.2
- Measured offscreen; not reproduced live with a window manager
Evidence
- A temporary test hosts
SettingsViewin a titledNSWindowthroughNSHostingView, asCustomizationWindowdoes. It measured SwiftUI's minimum width per section, before → after fix: keep the Settings search field clear of the tabs #609: General 446 → 622, Bar 562.5 → 622, Theme 616 → 622, Profiles 428 → 622, Packages 520 → 622, Status 428 → 622, Help 428 → 622. - Setting the window's frame to 500 points leaves it at 500, 561, 633, 500, 521, 500 and 500 points in those sections before fix: keep the Settings search field clear of the tabs #609, and at 622 points (633 in Theme) after.
- A resize through Accessibility reaches the same AppKit call,
-[NSWindow _setFrameCommon:display:fromServer:], so window managers run into the same limit. --render-scenesat 622–630 points shows "Packa…". Scenes below 622 points show General and the search field cut off, but only because a scene forces its width; the real window never gets that narrow.
Diagnosis
SettingsHeader in Sources/StableBar/CustomizationWindow.swift (lines 246–278 on main) is one row that can't shrink below 622 points:
- a placeholder that collapses to 0, then 8 points;
- the tabs, at least 404 points (7 × 56 plus 6 × 2);
- 8 points, then the 170-point search field and the 8 points before the hidden ⌘F button;
- 12 points of padding on each side.
The window's NSHostingView keeps its default sizingOptions, which turn SwiftUI's minimum size into Auto Layout constraints. AppKit enforces those on every frame change; window.minSize (900) only limits resizing by hand. The old ZStack header's minimum was max(404, 178) + 24 = 428.
A fix could let the header get narrower than the sections themselves need: a search field that can narrow to about 100 points, with the placeholder following its actual width, and/or icon-only tabs through ViewThatFits below some width. That's a layout choice, so it needs renders for the maintainer.
Related
- The search field covers the Settings tabs in a narrow Settings window #608 and fix: keep the Settings search field clear of the tabs #609: fixed the overlap at 732 points; this is a side effect of that fix. CodeRabbit's merge-risk note on fix: keep the Settings search field clear of the tabs #609 called clipping below about 622 points pre-existing. In the app, the window stops at 622 points instead, and the old limit was 428.
- Settings Bar preview blocks clicks on the header and display selectors #426 and fix: keep Settings controls clickable above the bar preview #427: the header click fix, which this doesn't affect.
Triaged by Claude Code (claude-opus-5-5), cross-checked with GPT-6.1-sol.
Activity
stablebar-releases commentedon Nov 20, 2026
🎉 This issue has been resolved in version 0.18.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀