luckman212 Posted February 26, 2021 Posted February 26, 2021 (edited) macOS 11.2.2 Alfred 4.3.2.1221 When hitting my main Alfred hotkey (F11) his window usually appears instantly. But, I've noticed that during certain conditions, such as shortly after launching a slow-to-open app from the Dock (Excel, Photoshop, etc) the Alfred window does not appear. Instead, it seems to hang until the foreground app is in the "ready" state. (Not sure technically what this is called, but essentially it's ready to receive input - mouse clicks, key events, etc). This can also happen if the foreground app gets busy, doing some long running task etc. Funny thing is, if I click to another app e.g. Finder and then hit the hotkey, Alfred appears immediately. Just wondering if there's any way to change this behavior so that the hotkey stays more responsive even during these busy times. Edited February 26, 2021 by luckman212 clarify title
deanishe Posted February 26, 2021 Posted February 26, 2021 So if the frontmost app isn’t responsive, neither is Alfred’s hotkey? Have you tried with other hotkeys? Like CMD+SPACE? See if it’s specifically related to F-keys?
luckman212 Posted February 26, 2021 Author Posted February 26, 2021 Yes, other hotkeys e.g. ⌘-space or F8 (which toggles my crosshairs from PixelSnap) continue to work fine during these unresponsive times. So it's not F-keys. It's only Alfred that gets hung up for some reason.
deanishe Posted February 26, 2021 Posted February 26, 2021 What about activating Alfred with a different hotkey? I ask because F-keys can be a bit special. It might be some weird edge case.
luckman212 Posted February 26, 2021 Author Posted February 26, 2021 I just tested it after changing the hotkey to ⌥A — same issue.
Andrew Posted March 10, 2021 Posted March 10, 2021 @luckman212 Could you try showing Alfred via the menubar hat instead of the hotkey while this is happening? It might be something odd like hotkeys are generally being blocked while macOS / Finder is waiting.
luckman212 Posted March 10, 2021 Author Posted March 10, 2021 Hi @Andrew - I just tested & the menubar hat goes zombie as well (other menubar icons are ok). So whatever's going on with this thread locking is across the board.
luckman212 Posted April 29, 2021 Author Posted April 29, 2021 Just wanted to post a little note on this: I discovered an option I wasn't aware of today in Alfred's Appearance > Options area: I thought maybe this would have some effect on this problem, but alas I tested it and they are both affected by the thread lock. I'm now using Alfred v4.3.4.1229
godbout Posted May 6, 2021 Posted May 6, 2021 happens to me quite frequently too. starting checking properly when it happens. for sure every time i open Xcode.
Andrew Posted May 6, 2021 Posted May 6, 2021 This isn't a widespread issue, but I am still really keen on fixing it... so as much info as possible would be handy, and if anybody else is experiencing this issue, if they could also help by providing any kind of hint if things they may have installed which could be the underlying or root cause. Thanks, Andrew
deanishe Posted May 6, 2021 Posted May 6, 2021 I've seen some issues with Alfred being unresponsive. In my case, I'm pretty sure it's when disk IO is bogging down and backed up. I don't recall Alfred ever being the only app that was affected. If Alfred isn't responding, chances are a bunch of my other apps aren't, either.
luckman212 Posted May 6, 2021 Author Posted May 6, 2021 Yes @godbout opening Xcode is another reliable way to trigger this for me too. @Andrew it's most noticable on a cold start (after a fresh boot) of a "large" app like Xcode or Microsoft Excel. Another app that I can definitely repeatedly trigger this with is Setapp. I know this is a bit low-tech but I couldn't figure out another way to capture this, so I recorded a couple of seconds with my phone, so you can get an idea of what this looks like... Setapp... https://user-images.githubusercontent.com/1992842/117302537-bce67e80-ae49-11eb-859a-13400dbecc57.mov Excel... (around 9s is where the hang starts - Excel dock icon was still bouncing...) https://user-images.githubusercontent.com/1992842/117302524-ba842480-ae49-11eb-9883-fa85f9ab5adb.mov
godbout Posted May 8, 2021 Posted May 8, 2021 i was using XVim2. removed it some days ago, Alfred is not hanging anymore. at least in this case. not sure if because XVim2 was grabbing some keys while starting, or because Xcode had to be resigned with a personal certificate or whatever. clean version of Xcode, no worries. will let you know if it happens in other cases, and will give more info then.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now