Skip to content

fix: keep setup's steps, reminders and hints readable on short screens - #476

Merged
M4n0x merged 1 commit into
mainfrom
fix/455-setup-small-screens
Nov 8, 2026
Merged

M4n0x merged 1 commit into
mainfrom
fix/455-setup-small-screens

Conversation

@M4n0x

@M4n0x M4n0x commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Problem

Setup's steps started a quarter of the way down the screen and grew downward until they ran under Back, Continue and Skip setup. At 1440×900 with the Dock at the bottom, the Your choices need reminder slid under the buttons, and the progress dots covered Set up Meetings later.

In tight stacks, the Automation notice stopped at "Turn on System Events und…" and the window manager hint at "Set gaps.out…", so the instructions they exist for were missing.

Fixes #455.

Changes

  • SetupTourLayout places a step:
    • It starts a quarter of the way down, as before, on a screen with room.
    • On a short screen it starts closer to the top, though never above the "Live on your bar" pointer, and the gap before the step's controls tightens from 32 to 20 pt.
    • A step that still doesn't fit scrolls, with a short fade at the bottom, and stops above the footer.
  • The reminder of what the choices need now sits right above Continue, which waits for it, rather than at the end of the step. It stays visible however long the step is.
  • Wrapping: the Automation notice, setup's error lines, the macOS Spaces note and the AeroSpace, yabai and OmniWM hint now wrap.
  • Docs: docs/getting-started.md says where the reminder shows.

Testing

  • New test: setupKeepsItsStepsAboveItsButtons, at 1512×982 without a Dock and 1440×900 with a 76 pt Dock.
  • swift test locally:
    • All 645 Swift Testing tests pass.
    • In XCTest, PackagesViewTests.testCommandPackageReviewLoadsInAnUnorderedWindow and WidgetAddPopoverTests.testCommandReviewLoadsInsidePopoverIncludingRequirementsAndSettings fail. They fail the same way on a clean main.
  • Images: offscreen renders of the real setup views with sample data. The Dock isn't drawn, and the top line in the step 2 images is a menu bar drawn for illustration.
  • Not checked in the running app: scrolling a long step with the trackpad.

1440×900, Dock at the bottom, Workday without Calendar access

Before After
Before: the footer covers the reminder After: the reminder sits above Continue

Cut-off instructions

Before After
Before: Automation notice cut off After: the Automation notice wraps
Before: AeroSpace hint cut off After: the AeroSpace hint wraps

1512×982, no Dock: the step sits where it did, with the reminder now above Continue.

Step 2 at 1512×982 with the reminder above Continue

Merging

One commit, so a squash or a merge commit both work.

Claude Opus 5.5 via Claude Code

Setup's steps started a quarter of the way down and grew until they ran
under Back, Continue and Skip setup: at 1440x900 with the Dock at the
bottom, the Your choices need reminder slid under the buttons. In tight
stacks the Automation notice and the window manager hint were cut off at
one line, losing the instructions they exist for.

A step now starts closer to the top on a short screen, with a tighter gap
before its controls, and scrolls with a fade when it still doesn't fit.
The reminder of what the choices need sits right above Continue, which
waits for it, however long the step is. The notices and hints wrap.

Fixes #455
@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner November 8, 2026 08:59
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The setup tour now scrolls step content above a reserved footer. It adjusts content placement and control spacing for screen height, and allows selected notices to wrap.

Changes: Setup tour layout

Layer / File(s) Summary
Calculate tour content placement
Sources/StableBar/SetupTour.swift, Tests/StableBarTests/WidgetTests.swift
SetupTourLayout calculates content placement and available height from screen height and Dock size. It also adjusts the controls gap. The test checks placement, footer clearance, and spacing on tall and short screens.
Keep step content above the footer
Sources/StableBar/SetupTour.swift, docs/getting-started.md
The setup view puts step content in a vertical scroll area and keeps the permission reminder outside it, above the footer. Selected error text, access notices, and window-manager guidance can wrap. The setup guide describes the reminder position and scrolling on short screens.

Possibly related PRs

  • Seb-GRAF/StableBar#445: Adjusts the setup footer and related controls for a bottom Dock, which the new layout calculation accounts for.
  • Seb-GRAF/StableBar#442: Adds the permission requirements and reminder behavior that the setup view now positions above the footer.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 713fc

No confirmed issue currently blocks merging. The reported layout test passes, though scrolling a long step has not been checked in the running app.

Pre-merge checks: Passed 3

Check name Status Explanation
Description check Passed The description follows the template's Problem, Changes, Testing, and Merging sections and gives concrete repro details, a linked issue (Fixes #455), test names, and before/after images. It also ends …
Linked Issues check Passed [#455] Objectives: (1) the "Your choices need" reminder and the "Set up Meetings later" control must not be covered by the footer or progress dots at 1440×900 with a 76 pt Dock; (2) the Automation not…
Out of Scope Changes check Passed The whole-PR change set (merge base ff1d0e9 to head 713fcd9) touches three files: Sources/StableBar/SetupTour.swift, Tests/StableBarTests/WidgetTests.swift, and docs/getting-started.md. Each change ma…
Full details: Description check

Explanation

The description follows the template's Problem, Changes, Testing, and Merging sections and gives concrete repro details, a linked issue (Fixes #455), test names, and before/after images. It also ends with the model and harness line the Description check reads. The only gap is the Testing section: it reports that two XCTest failures occur on a clean main, which is acceptable, and it states that trackpad scrolling was not checked. No required section is missing, so the description is mostly complete.

Full details: Linked Issues check

Explanation

[#455] Objectives: (1) the "Your choices need" reminder and the "Set up Meetings later" control must not be covered by the footer or progress dots at 1440×900 with a 76 pt Dock; (2) the Automation notice must not be truncated; (3) the AeroSpace, yabai, and OmniWM hint must not be truncated; (4) step content should sit above a reserved footer and scroll when it does not fit; notices and hints should wrap.

Implementation at head: SetupTourLayout (SetupTour.swift) starts the step a quarter down on tall screens. On short screens it starts higher, never above the bar pointer, and the controls gap drops from 32 to 20 pt. Steps that still do not fit scroll with a bottom fade and stop above the footer. The footer and dots stay at fixed offsets from the dock-adjusted bottom edge (footer at size.height - dock - 89, dots at size.height - dock - 44, as visible in the file read). The reminder moves above Continue. The setup error label already uses fixedSize(horizontal: false, vertical: true). The menu-bar access notice and the window-manager guidance also wrap, per the change summary. New test setupKeepsItsStepsAboveItsButtons checks footer clearance at 1512×982 without a Dock and 1440×900 with a 76 pt Dock. docs/getting-started.md states the new reminder position.

Limits: The diff blobs were unavailable. The file read was truncated before SetupTourLayout and the new test body. This verdict relies on the change summary, the PR description, and the visible part of SetupTour.swift. Trackpad scrolling was not checked in the running app. That check is not a static coding requirement, so it does not change this verdict.

Full details: Out of Scope Changes check

Explanation

The whole-PR change set (merge base ff1d0e9 to head 713fcd9) touches three files: Sources/StableBar/SetupTour.swift, Tests/StableBarTests/WidgetTests.swift, and docs/getting-started.md. Each change maps to #455. SetupTour.swift contains the layout, scroll, reminder placement, and text wrapping changes that address the overlap and truncation. WidgetTests.swift contains setupKeepsItsStepsAboveItsButtons, a test of the new layout. The test sits in WidgetTests.swift, which is an organizational choice and not a scope problem. The docs change describes the new reminder position. The wrapping of the macOS Spaces note and setup error lines is the same truncation class as the issue, and the issue asks for notices and hints to wrap. No changed file is unrelated to setup.

The PR description reports two XCTest failures in PackagesViewTests and WidgetAddPopoverTests that also fail on main. Those test files are not in the changed-file summary, so they are not changed by this PR. The author's claim that they fail on main was not verified.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between ff1d0e9 and 713fcd9.

Files selected for processing: 3

  • Sources/StableBar/SetupTour.swift
  • Tests/StableBarTests/WidgetTests.swift
  • docs/getting-started.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Before and after

main at ff1d0e9 → this pull request at 713fcd9 · 50 screens drawn in one CI job · 4 changed

Screen Change Where (image pixels)
scenes/settings-general-dark 3,591 pixels 619,2326 · 183×28
scenes/settings-general-light 3,450 pixels 620,2327 · 181×27
scenes/settings-general-spaces-dark 3,591 pixels 635,2248 · 183×28
scenes/settings-general-spaces-light 3,450 pixels 636,2249 · 181×27

scenes/settings-general-dark

Before After
Before After

Difference, changed pixels in red:

Difference

scenes/settings-general-light

Before After
Before After

Difference, changed pixels in red:

Difference

scenes/settings-general-spaces-dark

Before After
Before After

Difference, changed pixels in red:

Difference

scenes/settings-general-spaces-light

Before After
Before After

Difference, changed pixels in red:

Difference

46 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-bar-placement-dark, scenes/settings-bar-placement-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.

@M4n0x M4n0x added the visual-ok A maintainer looked at the changed screens and approves them label Nov 8, 2026
@M4n0x
M4n0x merged commit 940777d into main Nov 8, 2026
16 checks passed
@M4n0x
M4n0x deleted the fix/455-setup-small-screens branch November 8, 2026 10:40
stablebar-releases Bot pushed a commit that referenced this pull request Nov 10, 2026
## [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)
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.12.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released visual-ok A maintainer looked at the changed screens and approves them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup cuts off its instructions and slides its reminder under the buttons on smaller screens

1 participant