godbout / Wooshy.docs

it's like Alfred but for the UI
https://wooshy.app
221 stars 0 forks source link

App interferes with Dock hiding #132

Closed dhnaranjo closed 1 year ago

dhnaranjo commented 1 year ago

Yowhattup? Wooshy causes the Dock to intermittently not hide when you move the cursor away from it. The issue goes away when Wooshy is closed. Below is a gif screencast demonstrating the issue. No other application is running at this time.

Sequence is:

godbout commented 1 year ago

wait wtf. how the fuck did you find this 😂️😂️😂️

i thought it was a macOS bug actually, that the Dock would sometimes gets stuck. but i can reproduce. wth. also, is it that the Dock shows up faster when you have Wooshy running? it's weird coz i don't remember doing anything special on it. will investigate. thanks!

dhnaranjo commented 1 year ago

Oh, this might be useful for you, I got the idea to hunt through my background apps from this StackExchange post: https://apple.stackexchange.com/questions/455059/dock-hiding-gets-stuck-how-to-fix, where the issue was attributed to Parallels Toolbox.

godbout commented 1 year ago

nice. thanks. well obviously it seems pretty clear to me that one is related to Wooshy. gonna have to start commenting coz really, not sure what's going on here.

godbout commented 1 year ago

ok so it's my event tap tracking mouse movement that's somehow doing this. but it's standard stuff, hmm. gonna be fun. maybe some FB reports to Apple. will keep you updated. more investigation needed!

godbout commented 1 year ago

i can solve this by changing where in the event steam i'm putting my event tap, but that will create issues with some other apps, including my other app kindaVim. so i'm not sure yet if this is worth solving tbh. it's a bit technical but there's only 6 places in the event stream where you can put a tap, and depending where you put it you start having issues with other apps that also use event taps, like Alfred, Karabiner-Element, Hammerspoon etc. so yeah, not sure i wanna fix this and break other stuff. will still investigate more deeply tho.

dhnaranjo commented 1 year ago

I'm not gonna lie Wooshy is cool but it does not bring me more joy than this bug brings me frustration, and in my opinion it would be a disservice to your customers to cause what appears to be an OS bug that they can't resolve and is not obviously linked to your app. Like you said, how the fuck did I find it?

godbout commented 1 year ago

I'm not gonna lie Wooshy is cool but it does not bring me more joy than this bug brings me frustration

seems Wooshy is not that useful to you then 🤣️🤣️🤣️

and in my opinion it would be a disservice to your customers to cause what appears to be an OS bug that they can't resolve and is not obviously linked to your app. Like you said, how the fuck did I find it?

yeah, of course i'm gonna try to find a way around that. here's the usual process: 1. build a project that shows the bug 2. report to Apple 3. find ways around the bug. you kinda hope that point 2 will be resolved by Apple but in my experience it rarely, rarely happens.

so yeah, i'm gonna do all i can to avoid this, but it's gonna be more tricky stuff that shouldn't be there in the first place, waiting/hoping for Apple to fix their stuff. the issue is doing those tricky stuff usually come with side effects. so, wait and see. as said, more investigation needed here for now.

godbout commented 1 year ago

btw, just curious. how do you use your Dock? why do you go there? personally i open all my stuff through Alfred so it never bothered me enough so that i dig into the issue. (thought it was a macOS bug at first, not related to Wooshy.)

godbout commented 1 year ago

this bug was reported to Apple in... 2011 🤣️: http://www.openradar.me/10185068

godbout commented 1 year ago

reported to Apple as FB13006563. showcase project: https://github.com/godbout/EventTapDockIssue followup: https://github.com/feedback-assistant/reports/issues/416

jannis-baum commented 1 year ago

I was wondering why I have never had this issue even though I've been using Wooshy for quite some time and have always had my Dock set to auto-hide. Turns out the issue disappears when you set the hiding animation time & delay to 0

# remove the auto-hiding dock delay
defaults write com.apple.dock autohide-delay -float 0
# remove the animation when hiding/showing the dock
defaults write com.apple.dock autohide-time-modifier -float 0

which in my opinion is much better anyways. Just in case this helps and/or tips the scales back in Wooshy's favor for you @dhnaranjo 😁

Edit: if you try this out, make sure to restart your Dock after adjusting the preferences, e.g. with killall Dock

dhnaranjo commented 1 year ago

seems Wooshy is not that useful to you then

@godbout nah it's great but I would rather eliminate a frustration than gain a benefit, and can limp by with like vimperator or whatever. Repeat annoyance accumulates, you know?

As for the dock, I minimize stuff to it pretty often. I do use raycast for launching.

@jannis-baum your fix is perfect, thank you.

godbout commented 1 year ago

I was wondering why I have never had this issue even though I've been using Wooshy for quite some time and have always had my Dock set to auto-hide. Turns out the issue disappears when you set the hiding animation time & delay to 0

# remove the auto-hiding dock delay
defaults write com.apple.dock autohide-delay -float 0
# remove the animation when hiding/showing the dock
defaults write com.apple.dock autohide-time-modifier -float 0

which in my opinion is much better anyways. Just in case this helps and/or tips the scales back in Wooshy's favor for you @dhnaranjo 😁

Edit: if you try this out, make sure to restart your Dock after adjusting the preferences, e.g. with killall Dock

!!! that explains. used to have that on my previous machines, and before my MBP died some weeks ago. still, gonna have to fix it for all the others 😅️

godbout commented 1 year ago

Repeat annoyance accumulates, you know?

well i guess you're not gonna like the popup that asks you to rate the app and write a review... (kidding)

godbout commented 1 year ago
Screenshot 2023-08-20 at 15 13 07

took me a while this morning (1pm) to realize that this was not about "dog shit" 😂️😂️😂️

godbout commented 1 year ago

fixed in Ws13: https://github.com/godbout/Wooshy.docs/releases/tag/13

godbout commented 11 months ago

fyi, Apple said this bug may have been fixed in macOS build 23C63. i've tried and while it does appear less frequently, it still appears. my own fix still works tho and there's no issue with the current version of Wooshy.

(the Feedback Assistant thread has been updated: https://github.com/feedback-assistant/reports/issues/416)