SaneBar icon indicating copy to clipboard operation
SaneBar copied to clipboard

Unable to move past “Grant Access” in the Browse Icons Dialogue

Open modeezie opened this issue 9 months ago • 3 comments

Issue Description

Strange error: I’m unable to “Grant Access” in the Browse Icons dialogue. Immediately after the build completed and launched, I toggled the Accessibility permissions on and when I would manually restart SaneBar, the accessibility would toggle off on it’s own (I watched as it happened). I then rebooted, which was able to make the acessiblity permission persistent, but I still get the “Grant Access” screen in Browse Icons. I’m not quite sure if this is an issue with any build dependencies I may have lacked (the build instructions you provide were able to be done successfully, with no deviation). I moved the app into the Applications folder as well, but no dice so far. Again, not sure if it’s isolated to just my system or not for now as the version is so new. Thoughts?


Environment

Property Value
App Version 2.1.5 (2105)
macOS 26.4.0
Hardware Mac16,8 (Apple Silicon)
Collected 2026-02-19T01:28:33Z

Recent Logs (last 5 minutes)

[19:23:15.284] [INFO] statusItemClicked: event type=4, clickType=<private>
[19:23:15.284] [INFO] Showing status menu (anchor: SaneBar.main, buttonFrame: (0.0, -0.5, 33.0, 23.0), windowFrame: (1098.0, 949.0, 33.0, 33.0))
[19:23:16.370] [INFO] Menu: Browse Icons
[19:23:45.188] [INFO] statusItemClicked: event type=4, clickType=<private>
[19:23:45.188] [INFO] Showing status menu (anchor: SaneBar.main, buttonFrame: (0.0, -0.5, 33.0, 23.0), windowFrame: (1098.0, 949.0, 33.0, 33.0))
[19:23:46.730] [INFO] Menu: Browse Icons
[19:28:33.018] [INFO] 🔧 getMainStatusItemLeftEdgeX: window.frame = <private>

Settings Summary

hidingState: hidden
isAnimating: false
delimiterConfigured: true
delimiterLength: 10000.00
isMenuOpen: false
isRevealPinned: false
shouldSkipHideForExternalMonitor: false
hasNotch: true
isOnExternalMonitor: false
accessibilityGranted: false

separatorOriginX: 1072.00
alwaysHiddenSeparatorOriginX: -4217.00
mainIconLeftEdgeX: 1100.00

mainStatusItemVisible: true
statusMenuItemCount: 6

mainButton:
  identifier: SaneBar.main
  action: statusItemClicked:
  hasTarget: true
  windowFrame: x=1100.0 y=949.0 w=33.0 h=33.0
  screen: Built-in Retina Display

separatorButton:
  identifier: SaneBar.separator
  action: nil
  hasTarget: false
  windowFrame: x=-3916.0 y=949.0 w=5016.0 h=33.0

alwaysHiddenSeparatorButton:
  identifier: SaneBar.alwaysHiddenSeparator
  action: nil
  hasTarget: false
  windowFrame: x=-4217.0 y=949.0 w=30.0 h=33.0

nsStatusItemPreferredPositions:
  main: 380
  separator: 413
  alwaysHiddenSeparator: 10000

settings:
  autoRehide: true
  rehideDelay: 5.0s
  findIconRehideDelay: 15.0s
  showOnHover: false
  showOnScroll: true
  showOnClick: false
  showOnUserDrag: true
  showOnLowBattery: true
  showOnAppLaunch: false
  showOnNetworkChange: true
  requireAuthToShowHiddenIcons: false
  showDockIcon: false
  hideMainIcon: false
  dividerStyle: pipeThin
  menuBarSpacing: default
  iconGroups: 0
  iconHotkeys: 0
  disableOnExternalMonitor: false
  useSecondMenuBar: false
  alwaysHiddenSectionEnabled: true
  alwaysHiddenPinnedItemCount: 5

menuBarItems:
  accessibility: not granted

Submitted via SaneBar's in-app feedback

modeezie avatar Feb 19 '26 01:02 modeezie

Hey modeezie, thanks for the detailed report, for building from source, and for using SaneBar!

This is a known limitation when building from source. The dev build uses ad-hoc code signing, so every time you rebuild, the binary hash changes and macOS invalidates the accessibility grant — even though System Settings still shows the toggle as ON.

Best option: Install via Homebrew instead — the release build is properly signed so accessibility persists across updates:

brew install --cask sane-apps/tap/sanebar

If you need to keep building from source for development, the workaround is: after each rebuild, toggle SaneBar OFF then back ON in System Settings > Privacy & Security > Accessibility.

Thank you for your engagement and for helping make SaneBar better.

— Mr. Sane

MrSaneApps avatar Feb 19 '26 15:02 MrSaneApps

@MrSaneApps, thank you for the advice. I've removed the compiled version and installed via brew, and I'm having the same issue. Not completely sure how to isolate the issue to something wrong my MacBook. After installation, I allow Accessibility permissions, but I still get what's shown in screenshot below. It appears on in Settings persistently after a reboot, but it's like the app doesn't see it (I've right clicked > Show in Finder to confirm Accessibility is pointing to the correct app).

Image Image Image

modeezie avatar Feb 19 '26 15:02 modeezie

Fixed in v2.1.6 and released to all channels (Sparkle/appcast, direct ZIP, GitHub release, Homebrew tap).\n\nRoot cause addressed by centralizing the Accessibility grant path and forcing a fresh permission re-check on retry in Browse Icons + onboarding.\n\nIf you still see a loop after updating to v2.1.6, reopen with exact macOS build and repro steps.

MrSaneApps avatar Feb 19 '26 19:02 MrSaneApps