Skip to content

fix: show workspace managers as segments in Settings again - #529

Merged
Seb-GRAF merged 1 commit into
mainfrom
fix/528-workspace-manager-segments
Nov 10, 2026
Merged

Seb-GRAF merged 1 commit into
mainfrom
fix/528-workspace-manager-segments

Conversation

@Seb-GRAF

Copy link
Copy Markdown
Collaborator

Problem

Since #525, CI's Test job fails setupSceneDrawsTheSameStepHoweverLongItSettles in 3 of 4 runs, so main is red, no beta publishes and no stable release can start. The only change behind it is the Workspace manager row in Settings → General, which became a SwiftUI Picker (an AppKit pop-up button). Fixes #528.

Changes

Testing

  • swift test --filter "SceneRendererTests|Settings|settings": 44 tests pass, including setupSceneDrawsTheSameStepHoweverLongItSettles. It also passed locally with the menu, so CI is the real check: this PR's Test job, then main's.
  • StableBar --render-scenes on this branch: in settings-general and settings-general-spaces, light and dark, all five segments show in full, aligned with the Reconnect button below, with the hint beside them.
  • Not checked: that the pop-up button caused the failure. It doesn't reproduce locally. If this PR's CI fails the same test, the cause is elsewhere.

The Screens bot should show the Workspace manager row change in settings-general and settings-general-spaces.

Merging

One fix commit, so a squash merge with this title works too. It ships with Rift support in the next minor release.

Claude Opus 5.5 via Claude Code

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The workspace manager selector now uses SettingsSegments instead of a SwiftUI Picker. It retains the existing options, selection handling, and disabled state for managers whose executables are missing.

Changes: Workspace Manager Selector

Layer / File(s) Summary
Replace the workspace manager control
Sources/StableBar/GeneralSettingsView.swift
The selector uses SettingsSegments with the existing options and selection binding. Managers with missing executables remain disabled. The workspace source updates only when the selected value changes.

Severity of issue fixed: High

Merge Risk: Minimal · up to 60e21

No merge-blocking regression is established. CI should confirm whether the intermittent failure is resolved.

Pre-merge checks: Passed 2 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #528 proposes restoring SettingsSegments with .fixedSize(). GeneralSettingsView.swift makes that change and retains the disabled-manager list. The PR reports a passing local test, but the … Provide the PR Test-job results from the affected hosted macOS arm64 environment, with enough runs to assess the intermittent setupSceneDrawsTheSameStepHoweverLongItSettles failure.
Passed Passed checks: 2 passed

Check name Status Explanation
Description check Passed The description includes the required Problem, Changes, Testing, and Merging sections. It reports the change, test results, unverified CI cause, and merge strategy, and ends with the model and harness…
Out of Scope Changes check Passed The only reported change restores the workspace-manager selector in GeneralSettingsView.swift. It directly addresses issue #528's proposed fix and introduces no demonstrated unrelated changes.
Full details: Description check

Explanation

The description includes the required Problem, Changes, Testing, and Merging sections. It reports the change, test results, unverified CI cause, and merge strategy, and ends with the model and harness.

Full details: Linked Issues check

Explanation

Issue #528 proposes restoring SettingsSegments with .fixedSize(). GeneralSettingsView.swift makes that change and retains the disabled-manager list. The PR reports a passing local test, but the issue says the failure does not reproduce locally. No CI result establishes that the early and late setup-scene drawings match on the affected runner or that the intermittent failure has stopped.

Resolution

Provide the PR Test-job results from the affected hosted macOS arm64 environment, with enough runs to assess the intermittent setupSceneDrawsTheSameStepHoweverLongItSettles failure.

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 a6b5371 and 60e21a5.

Files selected for processing: 1

  • Sources/StableBar/GeneralSettingsView.swift

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

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Before and after

main at a6b5371 → this pull request at 60e21a5 · 60 screens drawn in one CI job · 4 changed

Screen Change Where (image pixels)
scenes/settings-general-dark 23,643 pixels 1104,1388 · 648×48
scenes/settings-general-light 31,068 pixels 1104,1387 · 648×49
scenes/settings-general-spaces-dark 27,301 pixels 1120,1388 · 648×48
scenes/settings-general-spaces-light 30,847 pixels 1120,1387 · 648×49

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

56 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/notch-flare-bar-dark, scenes/notch-flare-bar-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/settings-widget-backgrounds-dark, scenes/settings-widget-backgrounds-light, scenes/setup-look-below-menu-bar-dark, scenes/setup-look-dark, scenes/setup-permissions-dark, scenes/setup-placement-dark, scenes/setup-touches-dark, scenes/setup-try-dark, 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.

@Seb-GRAF Seb-GRAF added the visual-ok A maintainer looked at the changed screens and approves them label Nov 10, 2026
@Seb-GRAF
Seb-GRAF merged commit 741daa3 into main Nov 10, 2026
16 checks passed
@Seb-GRAF
Seb-GRAF deleted the fix/528-workspace-manager-segments branch November 10, 2026 17:43
@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.

The setup scene test fails on main since the workspace manager became a menu

1 participant