Repository navigation
Description
What happens
Below menu bar puts the bar max(NSStatusBar.system.thickness, NSScreen.main.safeAreaInsets.top) points from the top. It is chosen in setup, or set at first launch when the menu bar doesn't hide.
On macOS 27.2 that formula gives:
- 22 pt on a display without a notch,
- the notch height on a notched display.
The menu bar itself is taller (heights in the Evidence table), so the top of the bar sits under it.
The offset is also a single number for every display, taken from the main display. With an external main display, the built-in display's bar sits 22 pt down, under a 33 pt menu bar.
Steps to reproduce
- Leave Automatically hide and show the menu bar off.
- Start StableBar with a new configuration, or choose Keep the menu bar or Below menu bar in setup.
- Look at the top of the bar on each display.
Expected
The bar starts right below the menu bar on every display.
Environment
StableBar main at a900ef5 (the same setup code is in v0.12.0-beta.20261107173938.631), macOS 27.2, 14-inch MacBook Pro with a notch, and a 2560×1440 external display as the main display.
Evidence
Found in a UX review of setup: the code on main, plus offscreen renders of the setup views drawn with sample data and a stubbed system, so no permission or setting was touched. The heights below were measured on this Mac.
| Display | NSStatusBar.system.thickness |
safeAreaInsets.top |
Menu bar window height (CGWindowListCopyWindowInfo) |
|---|---|---|---|
| External 2560×1440, main | 22 | 0 | 30 |
| Built-in, with a notch | 22 | 32 | 33 |
NSApp.mainMenu.menuBarHeight returned 30.
In the illustration below, the top bar is drawn at the measured 33 pt. Below it is setup's live bar at the 22 pt offset that setup writes on this Mac:
Diagnosis
SetupSession.menuBarHeight(Sources/StableBar/SetupWindow.swift:198-200) and the first-launch configuration (Sources/StableBar/BarStore.swift:136-139) use that formula.SetupPreferences.editswrites it asbar.offset(Sources/StableBar/SetupPreferences.swift:254-256).updatePanelsplaces every display's bar attop - bar.offset(Sources/StableBar/StableBarApp.swift:401-403). One number can't match displays whose menu bars differ in height.SetupSession.placementrecognizes Below menu bar only when the offset equals that formula (SetupWindow.swift:210-214). An offset corrected by hand shows neither placement as chosen, and choosing Below menu bar writes the formula again.
Possible fix: store the placement as "below the menu bar" instead of a number. Each display then works out its own menu bar height, for example frame.maxY - visibleFrame.maxY while the menu bar shows, or the height of its menu bar window.
Related
- Setup hides a new bar behind a visible macOS menu bar #195 / feat: lead setup to replace the macOS menu bar #198: new configurations start below a visible menu bar.
Triaged by Claude Code (Claude Opus 5.5).

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