cmacrae / spacebar

A minimal status bar for macOS. Ideal for use with tiling window managers like yabai
MIT License
1.22k stars 52 forks source link

spacebar is hanging on `spacebar -m config height` #96

Open Justinfan827 opened 2 years ago

Justinfan827 commented 2 years ago

Any ideas here on why this would happen? Spacebar version: spacebar-v1.3.0 MacOS: BigSur 11.5.2

remi-gelinas commented 2 years ago

Also having this issue with v1.4 on MacOS Monterey 12.3.1.

ljhenne commented 2 years ago

I don't know why this would happen, but it was happening to me on v1.4 as well with MacOS Monterey 12.4.

A brew reinstall spacebar and subsequent brew services restart spacebar fixed the issue for me.

LachlanMarnham commented 2 years ago

I'm also having this issue. I can see in the error log (/opt/homebrew/var/log/spacebar/spacebar.err.log if anybody else wants to check to see if they have the same behaviour) the following error message:

spacebar: could not access accessibility features! abort..

However, I have granted spacebar accessibility privileges:

Screenshot 2022-06-29 at 15 13 07

I am also using v1.4 but am on MacOS Monterey 12.2.1. The fix proposed by @ljhenne didn't work for me.

LachlanMarnham commented 2 years ago

Following the suggestion given in #99 , I restarted my system and found that fixed the accessibility issue. Seemingly as a result (although the two could be unrelated), spacebar -m config height no longer hangs for me.

Therefore, I wonder if a note in the documentation to advise a system restart following installation may be enough to close this issue.

netguino commented 1 year ago

At least for me, this seems to be caused by right_shell.

After I disable it int he config file and issue a service restart, spacebar -m config height always works immediately.