matryer / xbar

Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
https://xbarapp.com
MIT License
17.56k stars 643 forks source link

V. 2.1.0-beta crashes under Catalina if the script is refreshed after I have clicked the menu, but before I choose the menu item #744

Open akrug opened 3 years ago

akrug commented 3 years ago

I have a menu script that refreshes every two seconds, and almost every time i choose a menu item, xbar crashes. It seems to me the problem is that if the script refreshes after I have clicked on the menu, but before I've had time to click the menu item, the app crashes. This is not the case in version 2.0.46-beta.

I've only tested this under Catalina, since my computer is to old to run a newer OS.

matryer commented 3 years ago

Hey @akrug thanks reporting this, we're looking into why this is happening. Can you try with the latest release?

akrug commented 3 years ago

The latest release works lika a charm! Thank you!

alexthehurst commented 3 years ago

Data point from a system running Big Sur: I noticed what seemed to be the same crash under v2.1.0-beta (5s refresh script, crash if I wait too long between opening the menu and selecting an item) and it appears to be fixed for me too, under v2.1.4-beta.