You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Settings says the workspace connection is Connected while it reconnects #693
Settings → General shows the workspace connection as Connected (green) while StableBar's AeroSpace subscription has dropped and is waiting to reconnect. This happens when no Workspaces widget is enabled and the subscription runs only for the AeroSpace mode (for example bar.style.states["mode.command"]).
StableBar --query reports "modeConnectionError" : "AeroSpace disconnected. Reconnecting…" at the same moment, and a bug report also says error: AeroSpace disconnected. Reconnecting…, so the two readouts disagree.
Steps to reproduce
Use a configuration with "workspaceSource": "aerospace", a mode state such as "bar": { "style": { "states": { "mode.command": { "borderEdges": "all" } } } }, and no Workspaces widget.
Let the aerospace subscribe connection drop (quit AeroSpace, or any disconnect).
Open Settings → General and look at the row under Workspace manager.
Expected
The row shows the disconnect in red ("AeroSpace disconnected. Reconnecting…") until the subscription is back, as it does when a Workspaces widget is enabled.
Reproduced with a stand-in aerospace whose subscription drops every few seconds and a scratch configuration: --query reported the reconnecting error while the row said Connected.
Diagnosis
Sources/StableBar/Workspaces.swift, the connection loop's catch: a disconnect always sets connectionError, but sets the public error only if tracksWorkspaces. isRunning (task != nil) stays true while the loop backs off.
Sources/StableBar/GeneralSettingsView.swift, connection: shows error in red, else isRunning as Connected, and never reads connectionError.
Activity
fix: show a dropped workspace connection in Settings while reconnecting
fix: show a dropped workspace connection in Settings while reconnecting
chore(release): 0.16.0 [skip ci]
stablebar-releases commentedon Nov 16, 2026
🎉 This issue has been resolved in version 0.16.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀