Repository navigation
fix: keep setup's buttons above a Dock at the bottom of the screen - #445
Conversation
The setup tour fills the screen and hides the Dock only while StableBar is the active app. Whenever another app had focus, a Dock at the bottom covered Continue, Skip setup and the step dots. The tour now measures the Dock before hiding it and lays out above it. Fixes #444
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Medium Merge Risk:
|
Before and after
|
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
scenes/settings-general-light
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
scenes/settings-general-spaces-dark
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
scenes/settings-general-spaces-light
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
44 unchanged screens
docs/essentials-clock-settings-dark, docs/essentials-clock-settings-light, docs/essentials-dark, docs/essentials-light, docs/essentials-settings-dark, docs/essentials-settings-light, docs/hero-dark, docs/hero-light, docs/popups-dark, docs/popups-light, docs/settings-dark, docs/settings-light, docs/themes-dark, docs/themes-light, scenes/app-menu-popup-dark, scenes/app-menu-popup-light, scenes/apple-menu-settings-dark, scenes/apple-menu-settings-light, scenes/crowded-edit-bar-dark, scenes/crowded-edit-bar-light, scenes/dock-badges-bar-dark, scenes/dock-badges-bar-light, scenes/essentials-clock-popup-dark, scenes/essentials-clock-popup-light, scenes/gruvbox-bar-dark, scenes/gruvbox-bar-light, scenes/horizontal-list-popup-dark, scenes/horizontal-list-popup-light, scenes/settings-bar-dark, scenes/settings-bar-light, scenes/settings-theme-dark, scenes/settings-theme-light, scenes/settings-uninstall-dark, scenes/settings-uninstall-failed-dark, scenes/settings-uninstall-failed-light, scenes/settings-uninstall-light, scenes/slider-end-stop-popup-dark, scenes/slider-end-stop-popup-light, scenes/starter-bar-dark, scenes/starter-bar-light, scenes/starter-edit-bar-dark, scenes/starter-edit-bar-light, scenes/update-popup-dark, scenes/update-popup-light
Visual review: 4 changed screens approved.
## [0.12.0](v0.11.0...v0.12.0) (2026-11-10) ### Features * ask for the permissions your bar needs before setup uses them ([#442](#442)) ([9494cc7](9494cc7)), closes [#441](#441) * let a group's top corners curve outward into the top of the screen ([265eb90](265eb90)) * paint the notch black so screen shares and screenshots match the display ([c40dda3](c40dda3)) * set widget, popup and tooltip backgrounds separately ([7eaf5af](7eaf5af)) * show Rift workspaces in workspace widgets ([d0f6d4d](d0f6d4d)) * turn on Open at login when setup replaces the menu bar ([#507](#507)) ([d24abe1](d24abe1)) ### Bug Fixes * ask before Skip setup throws away the choices made so far ([#470](#470)) ([66f47ea](66f47ea)), closes [#454](#454) * ask where the bar goes first, and for permissions after the choices ([#492](#492)) ([1f45416](1f45416)), closes [#450](#450) * drop a window that left every workspace when clicking it fails ([ec45fcc](ec45fcc)), closes [#520](#520) * drop stray focus rings and show popup focus in the theme's hover look ([61ea306](61ea306)) * fall back to macOS Spaces when no window manager is running ([#436](#436)) ([5cc4ef2](5cc4ef2)), closes [#435](#435) [#435](#435) * give a bar below the menu bar what the menu bar doesn't show ([#469](#469)) ([1181904](1181904)), closes [#452](#452) * hold Edit Bar in Place until setup is done ([7582976](7582976)), closes [#462](#462) * keep a bar below the menu bar clear of it on every display ([#468](#468)) ([ff1d0e9](ff1d0e9)), closes [#451](#451) * keep a cancelled hover from showing a tooltip or closing its popup late ([#483](#483)) ([93c44a1](93c44a1)), closes [#482](#482) * keep a package library that outlives its bar from crashing the test run ([#481](#481)) ([5f4821d](5f4821d)), closes [#480](#480) * keep a popup's focus when clicking inside it ([f5ecaec](f5ecaec)) * keep setup's buttons above a Dock at the bottom of the screen ([#445](#445)) ([2784139](2784139)), closes [#444](#444) * keep setup's pointer below the bar when the menu bar shows ([#509](#509)) ([ef22935](ef22935)) * keep setup's steps, reminders and hints readable on short screens ([#476](#476)) ([940777d](940777d)), closes [#455](#455) * keep the app menus on the menu bar's app while a background agent is in front ([#446](#446)) ([a900ef5](a900ef5)), closes [#443](#443) * keep the app menus that fit beside the notch and put the rest behind » ([#477](#477)) ([8b09465](8b09465)), closes [#453](#453) * keep the focus ring while editing the bar ([80195ff](80195ff)) * keep widgets beside the notch against it when More widgets shows its button ([d74b925](d74b925)) * leave Battery out of setup's presets on a Mac without a battery ([3db935d](3db935d)), closes [#456](#456) * let Skip setup restore the menu bar when a change is still in flight ([#498](#498)) ([9fdf1ce](9fdf1ce)), closes [#497](#497) * look up private macOS calls at runtime, so a missing one only turns its feature off ([#490](#490)) ([5f312fd](5f312fd)) * move a bar an earlier setup put below the menu bar under it ([#475](#475)) ([9cada9a](9cada9a)), closes [#468](#468) [#474](#474) * name the profile that sets belowMenuBar in setup's profile notice ([#473](#473)) ([55aea3c](55aea3c)), closes [#471](#471) * offer the Notch preset only when the bar replaces the menu bar ([#438](#438)) ([dc5a611](dc5a611)), closes [#437](#437) * reject a negative group flare ([eae8615](eae8615)) * show workspace managers as segments in Settings again ([60e21a5](60e21a5)) * start a new bar with a clock in the Mac's date order and 12- or 24-hour time ([#501](#501)) ([ed119f7](ed119f7)) * stop reopening setup at every launch after Skip setup ([#472](#472)) ([a15e07a](a15e07a)), closes [#449](#449)
|
🎉 This PR is included in version 0.12.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |












Problem
When the Dock sits at the bottom of the screen and doesn't hide automatically, it covers the setup tour's buttons: Continue, Back, Skip setup, the step dots, and in the intro Get Started and Replace the menu bar. The tour hides the Dock with
NSApp.presentationOptions = [.autoHideDock], which macOS applies only while StableBar is the active app. Focus moves to another app when:Fixes #444
Changes
SetupWindow.showTourmeasures the Dock's height at the bottom of the screen (visibleFrame.minY - frame.minY) before the Dock hides, and passes it toSetupTourView. The measurement is 0 when the Dock is on a side or another screen; when it hides automatically, it's only the few points macOS keeps for revealing it.SetupTourViewraises everything anchored to the bottom by that height: the intro's Get Started, Skip intro and menu bar question, the footer, and the dots. Each step's top padding is now 24% of the height above the Dock, so the content keeps its distance from the raised footer.Testing
setupKeepsItsButtonsAboveABottomDockcovers a bottom Dock, an auto-hiding Dock, a Dock on the left, no Dock, and a screen whose origin isn't zero. It failed to build before the change. It and the other 23 setup tests pass (swift test --filter "[Ss]etup").SetupTourViewoffscreen at 1440 × 900 with a 76 pt stand-in Dock. All four steps fit at 1440 × 900, 1470 × 956 and 1728 × 1117. On the busiest step, about 40 pt stays free above Continue at 1440 × 900.Merging
One commit: squash or merge commit both work.
Claude Opus 5.5 via Claude Code