Repository navigation
Description
Problem
StableBar has no way to remove itself. Dragging the app to the Trash, or brew uninstall --zap --cask stablebar, leaves behind changes the user may not know StableBar made:
- The macOS menu bar's auto-hide. Setup turns it on for Top edge, Replace the menu bar and the Notch preset (
Sources/StableBar/SetupWindow.swift:196). After StableBar is gone, the menu bar keeps hiding. Turn the macOS menu bar's auto-hide back off outside setup #210 covers turning it off from Settings. - Launch at login. The
SMAppServiceregistration stays unless Launch at login was turned off first. - The
stablebarcommand that Settings → General → Command line writes to/usr/local/bin. Settings can install it but not remove it (Sources/StableBar/CommandLineTool.swift). - Package secrets in the Keychain, under the service
StableBar(Sources/StableBar/PackageSecrets.swift). - Permissions: Accessibility, Calendars and Automation (System Events).
- Files:
~/.config/stablebar(configuration and packages),~/Library/Caches/org.stablebar.app,~/Library/Caches/org.stablebar.app.sparkle,~/Library/Caches/StableBar,~/Library/HTTPStorages/org.stablebar.appand~/Library/Preferences/org.stablebar.app.plist. The cask'szapremoves these.
The guide explains how to install StableBar from the DMG or with Homebrew, but not how to remove it. An app can't run code when it's dragged to the Trash, so only StableBar itself can undo its changes before it goes.
Proposal
- Remember the menu bar setting before setup changes it. Setup keeps it only in memory (
menuBarHidAtStart,SetupWindow.swift:128), so after Finish setup nothing can restore it. Save it in StableBar's preferences the first time setup changes it, and keep that first value when setup runs again. - Uninstall StableBar… in Settings → General, also found by Settings search. A confirmation lists what it does, then it:
- sets the menu bar's auto-hide back to the saved value, only when StableBar changed it;
- turns off launch at login;
- removes the
stablebarcommand when it's StableBar's script (macOS asks for an administrator password); - deletes the
StableBarKeychain items; - offers to move
~/.config/stablebarto the Trash, off by default, because it holds the configuration and packages; - lists the permissions to remove in System Settings → Privacy & Security;
- removes caches and preferences, moves the app to the Trash and quits. When Homebrew installed the app, it says to finish with
brew uninstall --cask stablebarinstead.
- Not on quit. Restoring the menu bar on every quit would flip a system setting on restarts, updates and logouts, and would undo the choice of users who hid the menu bar before StableBar.
- Guide. An "Uninstall" section in
docs/getting-started.mdwith the action and the manual steps. Fix line 33, which says StableBar doesn't change macOS menu-bar settings.
Not verified: macOS's setting offers Always, On Desktop Only, In Full Screen Only and Never, but setup reads and writes a yes/no (_HIHideMenuBar). Saving and restoring should be checked against each choice.
Possible today
Partly, by hand: turn off Launch at login and quit StableBar, then run brew uninstall --zap --cask stablebar or delete the app and the files above. Run sudo rm /usr/local/bin/stablebar and security delete-generic-password -s StableBar until no item is left. Turn off Automatically hide and show the menu bar in System Settings → Menu Bar, and run tccutil reset All org.stablebar.app. The menu bar setting from before setup can't be recovered.
Related
- Turn the macOS menu bar's auto-hide back off outside setup #210 turns the menu bar's auto-hide back off from Settings. Saving the value from before setup lets both restore it.
- Uninstall installed packages #43 and Uninstall every local-folder version of a package at once #279 uninstall packages, not the app.
- Install a stablebar command from Settings #255 added the
stablebarcommand; feat: install and update StableBar with Homebrew #330 added the Homebrew cask and itszap. - Setup hides a new bar behind a visible macOS menu bar #195 made setup hide the menu bar.
Triaged by Claude Code (Claude Opus 5.5).
Activity
chore(release): 0.9.0 [skip ci]
stablebar-releases commentedon Oct 29, 2026
🎉 This issue has been resolved in version 0.9.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀