Jump to content

constant hangs [resolved]


JasonMark

Recommended Posts

I have command-space set to Alfred and have been using power pack version for many years. In the past few weeks it started hanging (I was using beta) and wouldn't come up sometimes. I sometimes trigger it half a dozen times and nothing happens an then 10-30 seconds later it flashes up and back. I'm now running the 14.0 (23A344) - not beta and it's still happening. Yesterday I looked and there was an Alfred update waiting so I ran it and am running 

Alfred 5.1.3

Build 2175, Monday 25th September 2023

 

on my 13-inch, M1, 2020 

 

I also ran the MacOS update and restarted with it.

 

But Alfred is still hanging and not coming up. a little earlier it also came up but just froze on screen and I couldn't tap for 10+ seconds.

 

The only two workflows I have are a link to desktop and a link to downloads


All other apps on my Mac work fine while Alfred is hung so I just go and do other things. Is this a known issue you're working on? I'm hanging on with Alfred b/c of 1Password 7 integration, but honestly don't use anything else in Alfred that doesn't already exist in Spotlight other than that, so I've been considering biting the bullet and going to 1Password 8 and Spotlight as frustrating as it is since the 1Password 8 integration sucks.

 

 

 

Link to comment
Share on other sites

This is just a quick check of one thing: you don't also have Command + space set to trigger Spotlight, do you? It's probably worth just checking that because if that happens one of the symptoms is what you're seeing.

 

Stephen

Edited by Stephen_C
Link to comment
Share on other sites

@JasonMark Next time you see a hang, could you please pop up Activity Monitor, select Alfred and do a Sample Process?

 

If you could please email this and your Diagnostics (which you can get by typing "?diagnostics" into Alfred), I'll take a look.

 

Keep in mind that Alfred hasn't changed in this process, macOS has. We've been using Sonoma since the early betas, as have a large number of users and I haven't heard of a hang like this so far, so it may be that the betas have caused underlying issues on your Mac, e.g. with the metadata index, resulting in a lower level hang.

 

The more details you can provide, the more likely we can help you identify what's happening on your Mac :)

 

Cheers,
Vero

Link to comment
Share on other sites

3 minutes ago, JasonMark said:

Is there a way to force the metadata to reindex?

Go to Alfred Preferences → Advanced and, under Files/Apps:, choose Rebuild macOS Metadata.

 

Stephen

Link to comment
Share on other sites

I have this issue to, same hardware.  All updates done.  Hangs since Sonoma update

 

Tried attaching sample process (but not allowed as .txt file) as cannot get Alfred to run long enough without hang to run ?diagnostics.

 

Alfred box stays hung on screen until process killed in process manager

 

restart then required.

Link to comment
Share on other sites

@Toby Roberts if you could email the sample process to our info@ address, I can take a look at what's happening on your Mac.

 

As for the diagnostics, you can open Alfred's preferences to the Help tab, and you'll see the diagnostics button in the bottom right. The preferences app runs independently to Alfred, so you may be able to get to this.

 

Cheers,

Andrew

Link to comment
Share on other sites

file sent by email

 

I think I may have this narrowed down a bit. After re-reinstall and rebuild index, the Alfred hang appears to be consistent if opening the Apple Mail app.

 

other apps, contacts open 'OK' but appear (perhaps just a feeling) to be a bit slower overall - i.e. the time between typing into Alfred and the app being open seems a bit longer than usual - maybe.

 

however, if I use Alfred to open mail, it hangs consistently.  I'll go and try this on the MacMini also - but mail is always open on that machine.

Screenshot 2023-10-08 at 10.02.10.png

Link to comment
Share on other sites

2 hours ago, Toby Roberts said:

Anything starting with M hangs it.

 

That sounds like you might have a workflow causing the problem. Open the debugger and try the m, it should give you a clue if it’s being caused by a workflow.

Link to comment
Share on other sites

  • 2 weeks later...

I'll be moving this thread to Closed now as it's been inactive for two weeks.

 

For anyone who encounters this thread, the first step is to check your hotkeys; If you're using Cmd + Space as Alfred hotkey and have recently updated macOS, it's possible that macOS has re-assigned Cmd + Space to Spotlight (or Spotlight-related actions) so take a look at this guide to avoid hotkey conflicts:

https://www.alfredapp.com/help/troubleshooting/cmd-space/

Link to comment
Share on other sites

  • 5 weeks later...

 

On 10/23/2023 at 9:27 PM, Vero said:

I'll be moving this thread to Closed now as it's been inactive for two weeks.

 

For anyone who encounters this thread, the first step is to check your hotkeys; If you're using Cmd + Space as Alfred hotkey and have recently updated macOS, it's possible that macOS has re-assigned Cmd + Space to Spotlight (or Spotlight-related actions) so take a look at this guide to avoid hotkey conflicts:

https://www.alfredapp.com/help/troubleshooting/cmd-space/

I have been continuously experiencing this issue since I moved to Sonoma. I have tried following all the steps mentioned above, but the issue still persists.

My Mac details:

 

- Macbook Pro M1

- OS: Sonoma 14.1.1 (23B81)

 

Do you have any additional tips or suggestions?

Link to comment
Share on other sites

@OgeRlatE Welcome to the forum :)

 

Could you please give more details about your specific configuration? Next time you experience this issue, could you please pop up Activity Monitor, select Alfred and do a Sample Process?

 

As mentioned in my earlier post, Sonoma has changed recently, Alfred hasn't. As such, the aim is to work out what has changed in Sonoma or in your specific configuration that is causing this issue, as Alfred is otherwise working beautifully for the wider community.

 

More information on your chosen option for syncing preferences, your main Alfred hotkey, and whether there are specific scenarios where you see a delay (e.g. typing specific keywords, that could indicate issues with an older workflow) will help narrow down what's happening.

Link to comment
Share on other sites

Ironically this is happening for me again and so it's timely that someone else replied to this. Last time going to Alfred Prefs/Advanced and Rebuilding "macOS Metadata Index" and then waiting a few hours and restarted fixed it.

 

If it happens again I'll grab process info from Activity Monitor, but hopefully this will fix it.

 

I have a new machine. It's a 

Apple M3 Max 36 GB memory

14.1.1 (23B2082)

Alfred 5.1.4


This happens when bringing up Alfred. I hit command-space, Alfred comes up and won't accept typing for a good 5+ seconds, at which point I give up and find another way to do what I want to do. When I go back later it "usually" works, but a few times a day it's been hanging like this.

Link to comment
Share on other sites

13 minutes ago, JasonMark said:

I hit command-space, Alfred comes up and won't accept typing for a good 5+ seconds

What happens if, temporarily at least, you set another keyboard shortcut for bringing up Alfred?

 

Stephen

Link to comment
Share on other sites

I think you suggested that to me before in this same thread. It didn't work last time, so I'm not going to spend time trying it this time. But it seems like Vero and the support team know of this issue and are working on narrowing it down.

Link to comment
Share on other sites

6 hours ago, JasonMark said:

I think you suggested that to me before in this same thread. It didn't work last time, so I'm not going to spend time trying it this time. But it seems like Vero and the support team know of this issue and are working on narrowing it down.


@JasonMark There is no known issue; I’m making the most likely suggestions for the very few users who’ve encountered this kind of issue. 
 

In most cases, the hotkey change referred to by Stephen is a likely option to investigate first upon a macOS upgrade as it can be reset during the upgrade process. 
 

Otherwise, the more information and self-troubleshooting a user can provide in terms of their specific upgrade or fresh install process, and their configuration, the more likely we’ll be able to point them in the right direction.

Link to comment
Share on other sites

  • Andrew changed the title to constant hangs [resolved]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...