Replies: 15 comments 20 replies
-
I haven't seen this at all. I know you said it happens no matter which
Bunch you click, but could I see what's in your Comms bunch just so I
can try to test locally?
…-Brett
On 23 Jun 2021, at 20:24, bunnyhero wrote:
has anyone else experienced this? i'd never seen this till the big
rewrite, and it only happens to me with the first bunch after startup.
steps to reproduce:
1. launch bunch.app
2. click on bunch menu and open a bunch (doesn't matter which)
result: bunch menu icon turns yellow for a good 10 seconds at least,
while nothing else happens. clicking on the menu when it's in this
state turns the pointer into the spinning rainbow pinwheel.
after about 10 seconds or so, all of the apps in the bunch finally
start launching.
3. click on bunch menu and open any other bunch
result: no delay, everything opens and runs as expected.
this is with the preference "launch items in parallel" turned off, by
the way.
i turned on debug logging to see if there was anything interesting
there. in this example, i opened the "Comms" bunch at 21:04:30. the
app froze, not actually launching anything, until 21:04:40
("Generating status menu")
```
2021-06-23 21:04:30: ⚪[Comms] Open >>>>>>>>>>>>>>>>>>>>>
2021-06-23 21:04:30: ⚪[Comms] Launching app (Calendar)
2021-06-23 21:04:30: ⚪[Comms] Launching app (Notes)
2021-06-23 21:04:30: ⚪[Comms] Launching app (Reminders)
2021-06-23 21:04:30: ⚪[Comms] Launching app (Discord)
2021-06-23 21:04:30: ⚪[Comms] Launching app (Messages)
2021-06-23 21:04:30: ⚪[Comms] Launching app (Messenger)
2021-06-23 21:04:30: ⚪[Comms] Launching app (Mail.app)
2021-06-23 21:04:40: 🔘Generating status menu
```
any ideas on how to troubleshoot this would be great. thanks!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#84
|
Beta Was this translation helpful? Give feedback.
-
I am having the same issue with the beachball when launching any bunch. In the example below, the first app Drafts launches immediately, but there is a delay of 100 seconds and then all of the other apps appear. The preference "launch items in parallel" is turned off. This bunch launched with no delays on the version prior to 1.4. Here is a copy of the logging:
Here is a copy of that bunch
|
Beta Was this translation helpful? Give feedback.
-
Could everybody on this thread try deleting their preferences and starting fresh? It sounds like you all jumped from the 1.3 version to the final release of 1.4 (i.e. not part of the beta). There may be an issue I didn't catch with updating the existing preferences.
|
Beta Was this translation helpful? Give feedback.
-
I am having the same issue after the deletion of the plist/reboot. The issue occurs just on the first bunch I run and doesn’t matter which bunch I use. After the first bunch runs, all of the bunches afterwards runs quickly.
From: Brett Terpstra ***@***.***>
Date: Friday, June 25, 2021 at 12:13 PM
To: ttscoff/bunch ***@***.***>
Cc: Rueshann Brantley ***@***.***>, Comment ***@***.***>
Subject: Re: [ttscoff/bunch] bunch.app freezes (beachballs) for many seconds opening first bunch after launch (#84)
Could everybody on this thread try deleting their preferences and starting fresh? It sounds like you all jumped from the 1.3 version to the final release of 1.4 (i.e. not part of the beta). There may be an issue I didn't catch with updating the existing preferences.
1. Quit Bunch
2. Locate and trash the file ~/Library/Preferences/com.brettterpstra.Bunch.plist. You can do this from Terminal with rm ~/Library/Preferences/com.brettterpstra.Bunch.plist, or in Finder by hitting ⌘+⇧+G, pasting in the path, then dragging the selected file to the Trash.
3. Reboot your machine to make sure the preferences cache gets cleared
4. Relaunch Bunch and see if the problem still persists. You'll need to configure your preferences again, but there aren't many, so this shouldn't be much of a hassle
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#84 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHUXRPNTKADV7W777RBSERLTUSTJPANCNFSM47G4I2SA>.
|
Beta Was this translation helpful? Give feedback.
-
I am running “Bunch.”
From: Brett Terpstra ***@***.***>
Date: Friday, June 25, 2021 at 4:12 PM
To: ttscoff/bunch ***@***.***>
Cc: Rueshann Brantley ***@***.***>, Comment ***@***.***>
Subject: Re: [ttscoff/bunch] bunch.app freezes (beachballs) for many seconds opening first bunch after launch (#84)
Next thing I need to know is whether the folks on this thread are running "Bunch" or "Bunch Beta." I'm unable to replicate the issue with either build, and as of right now they should be identical, but I'd like to know if the issue is specific to one or the other.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#84 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHUXRPOZSQC2T3FGBHYTOTDTUTPL3ANCNFSM47G4I2SA>.
|
Beta Was this translation helpful? Give feedback.
-
I've thus far been unable to replicate this issue. It's clearly affecting a number of users, so I'd like to figure out what's happening. I need to figure out what's different between my setup and everyone else in this thread. When you post new info, please be sure to include your OS version, Bunch version, type of Mac (model, Intel, M1) and any other info you think might be relevant. The more info the better, as I've been unsuccessful in making this happen on my own machine, whether testing with my usual setup or creating entirely new Bunch folders to test with. |
Beta Was this translation helpful? Give feedback.
-
MacBook Pro (16-inch, 2019)
Model Name: MacBook Pro
Model Identifier: MacBookPro16,1
Processor Name: 8-Core Intel Core i9
MacOS 11.4
Bunch 1.4.1
From: Brett Terpstra ***@***.***>
Date: Monday, June 28, 2021 at 3:49 PM
To: ttscoff/bunch ***@***.***>
Cc: Rueshann Brantley ***@***.***>, Comment ***@***.***>
Subject: Re: [ttscoff/bunch] bunch.app freezes (beachballs) for many seconds opening first bunch after launch (#84)
I've thus far been unable to replicate this issue. It's clearly affecting a number of users, so I'd like to figure out what's happening.
I need to figure out what's different between my setup and everyone else in this thread. When you post new info, please be sure to include your OS version, Bunch version, type of Mac (model, Intel, M1) and any other info you think might be relevant. The more info the better, as I've been unsuccessful in making this happen on my own machine, whether testing with my usual setup or creating entirely new Bunch folders to test with.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#84 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHUXRPMZDFPAQUBXNAGB7DDTVDG33ANCNFSM47G4I2SA>.
|
Beta Was this translation helpful? Give feedback.
-
I did some debugging this morning, since I'm still observing the significant delays on all three of my regular computers. Here is the information about the specific computer used for debugging today: OS version: macOS Big Sur 11.5 The consistent behavior I am observing is 10 seconds between the launch of each application when activating a bunch the first time after launching the Bunch app. The steps I take to consistently reproduce the issue are:
After the initial triggering of any bunch, all subsequent activations of any bunch work as expected. I removed all of my regular bunches and created 2 test bunches with Apple-provided default applications to remove the possibility that I had a problematic application. The behavior was the same. Here are the debug logs from 2 runs. The first shows launching Bunch, opening a bunch, closing that same bunch, and then subsequently launching a second bunch. There is a 10 second delay between the launch of the applications in the first bunch, after which the other closing and opening of bunches happens immediately. The second log shows launching Bunch, opening a bunch, opening a second bunch, and then closing the two open bunches one at a time. The same result was observed as above, specifically around the 10 second delay in-between application launches from the first bunch triggered after the launch of the application. I will continue to try additional debugging with what I have access to and will post any new information if I find it. Run 1:
Run 2:
|
Beta Was this translation helpful? Give feedback.
-
I’m seeing this too, exactly as described: on the first run after powering up, Bunch launches the first app in the list immediately (Fantastical) then the logs show 10 seconds between each subsequent app launch (but what I actually see is the orange Bunch icon for 70 seconds then all the remaining apps launch at once (or in very quick succession).
|
Beta Was this translation helpful? Give feedback.
-
Still the same here with my M1 Mac. I know that the Hook.app had the same problems and they fixed it by compiling with a special/different option or something ... It took them a while to figure out what was wrong. (Sorry, I am no programmer and therefore have no clue.) |
Beta Was this translation helpful? Give feedback.
-
The perfect 10s intervals in the log are very weird. I'll ping the Hook
devs and see if their issue was related.
…On 15 Aug 2022, at 8:05, Marco wrote:
Still the same here with my M1 Mac. I know that the Hook.app had the
same problems and they fixed it by compiling with a special/different
option or something ... It took them a while to figure out what was
wrong. (Sorry, I am no programmer and therefore have no clue.)
--
Reply to this email directly or view it on GitHub:
#84 (comment)
You are receiving this because you commented.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I had exactly the same issue. It took me a while to solve it, and in my case it was a bit trivial and |
Beta Was this translation helpful? Give feedback.
-
I haven't figured out why yet, but I'm fairly certain a semaphore is timing out when Bunches are launched sequentially. I'm going to guess that everyone on this thread has parallel launching disabled in Preferences? If you enable that, does the issue go away? |
Beta Was this translation helpful? Give feedback.
-
I enabled parallel launching and the issue does not happen, so I’ve left it on.
… On Sep 26, 2022, at 8:41 AM, Brett Terpstra ***@***.***> wrote:
I haven't figured out why yet, but I'm fairly certain a semaphore is timing out when Bunches are launched sequentially. I'm going to guess that everyone on this thread has parallel launching disabled in Preferences? If you enable that, does the issue go away?
—
Reply to this email directly, view it on GitHub <#84 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAACWXV46MDOPTHYUV4GQSLWAGR2PANCNFSM47G4I2SA>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Ok, I think I have this solved in the most recent beta (available now). It required removing some of the checks that keep sequential launches in line, so things launch in very rapid succession. I may need to revisit how that was being handled, but the semaphore that kept the next launch from happening until the current one completed was never being triggered by a callback block, and so it would just wait until timeout (10s). And the next app would then block the thread until IT timed out, and so on down the line. So if you were launching 6 apps, there would be a 60 second pause while all the semaphores timed out. I can't explain why this only happens the first time after launch, that doesn't make any sense. But for now I've just removed the code that causes it to wait for the completion block to finish and it seems to work pretty well. As this will change the way some sequential-launch Bunches behave, please help me out by testing your Bunches and seeing if there's any new weird behavior. Leave "Launch Items in Parallel" disabled, as this change only affects sequential launching. You can grab the beta at https://bunchapp.co/download/ |
Beta Was this translation helpful? Give feedback.
-
has anyone else experienced this? i'd never seen this till the big rewrite, and it only happens to me with the first bunch after startup.
steps to reproduce:
result: bunch menu icon turns yellow for a good 10 seconds at least, while nothing else happens. clicking on the menu when it's in this state turns the pointer into the spinning rainbow pinwheel.
after about 10 seconds or so, all of the apps in the bunch finally start launching.
result: no delay, everything opens and runs as expected.
this is with the preference "launch items in parallel" turned off, by the way.
i turned on debug logging to see if there was anything interesting there. in this example, i opened the "Comms" bunch at 21:04:30. the app froze, not actually launching anything, until 21:04:40 ("Generating status menu")
any ideas on how to troubleshoot this would be great. thanks!
Beta Was this translation helpful? Give feedback.
All reactions