Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Dock with sped up animations causes prematurely hidden window #297

Open
gkrawiec opened this issue Sep 7, 2024 · 35 comments
Open
Labels
bug Something isn't working

Comments

@gkrawiec
Copy link

gkrawiec commented Sep 7, 2024

Describe the bug

with the update this past week, i can no longer hover over the preview windows. They do show up, but as soon as I try to move the mouse pointer into one of the previews in order to hover or select, the previews instantly close.
I already played around with the window buffer so that the window preview is next to or under the dock so that the pointer never but it still closes immediately.

Steps to reproduce

Expected behavior

in the past I could move from the dock icon into the previews in order to select them. I would expect that to still work

Actual behavior

the previews close immediately when the pointer leaves the dock icon. Even if it goes dierctly into the preview.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • macOS version: 14.6.1
  • App version: currently 1.2.3 but the problem showed up in thew previous version

Additional context

  • [ X] I have reviewed the open issues to ensure this is not a duplicate
@gkrawiec gkrawiec added the bug Something isn't working label Sep 7, 2024
@illavoluntas
Copy link
Contributor

illavoluntas commented Sep 7, 2024

Duplicate of #291, version 1.2.3 specially patched the issue. Apparently not.

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

Sorry, but no. This is not about far previews. I saw that post and its video.
This is ALL previews. I cant even reach a single preview. I already have 1.2.3 and the problem is still there.

@illavoluntas
Copy link
Contributor

illavoluntas commented Sep 7, 2024

Sorry, but no. This is not about far previews. I saw that post and its video. This is ALL previews. I cant even reach a single preview. I already have 1.2.3 and the problem is still there.

You might want to try to reset DockDoor, but all your settings will be gone.
Paste the command defaults delete com.ethanbills.DockDoor into a terminal emulator.

@illavoluntas
Copy link
Contributor

illavoluntas commented Sep 7, 2024

Sorry, but no. This is not about far previews. I saw that post and its video. This is ALL previews. I cant even reach a single preview. I already have 1.2.3 and the problem is still there.

I'm really sorry for the misunderstanding

@illavoluntas
Copy link
Contributor

@gkrawiec Have you also tried restarting DockDoor? As I am unable to reproduce the issue, it might help fixing it.

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

Just tried

  • quitting
  • -resetting defaults
  • opening app

problem is still there.

Screen.Recording.2024-09-07.at.10.19.41.AM.mov

@illavoluntas
Copy link
Contributor

That is very strange, thank you for the precisions.
Do you happen to have multiple monitors?

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

Nope, single internal laptop monitor. I did NOT have this problem in the release from before this week.
Though I did have the issue where dockdoor would stop working after a while (this has been fixed).

@illavoluntas
Copy link
Contributor

illavoluntas commented Sep 7, 2024

If you have time and saved your work, you could also try restarting your Mac. But as restarting DockDoor didn't work, I'm not sure it might work either...

@illavoluntas
Copy link
Contributor

Could you please screenshot your General and Appearance settings too? Let's see if some settings are triggering this bug or not.

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

Windows Switcher is DISABLED, all permissions are given.

39345 61178

@illavoluntas
Copy link
Contributor

illavoluntas commented Sep 7, 2024

What does changing Preview Window Open Delay's value do (to a higher one)? Is it the same?

Note

I'm just trying ways to investigate why this is happening to you. I cannot reproduce the issue, even though I have approximately the same settings as you.

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

No difference.

What does changing Preview Window Open Delay's value do (to a higher one)? Is it the same?

Note

I'm just trying ways to investigate why this is happening to you. I cannot reproduce the issue, even though I have approximately the same settings as you.

@illavoluntas
Copy link
Contributor

Okay. Did you restart your Mac?
Another track you could follow is using Pearcleaner to completely uninstall DockDoor (delete all the files related to it), and reinstall from the GitHub repo.

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

I've done the uninstall using pearcleaner. I should mention I install using brew cask.
problem is still there after reinstall.
I have NOT restarted the machine yet. I can't right now, I can try that monday morning.

@ejbills
Copy link
Owner

ejbills commented Sep 7, 2024

Just tried

  • quitting

  • -resetting defaults

  • opening app

problem is still there.

Screen.Recording.2024-09-07.at.10.19.41.AM.mov

Why does your dock instantly disappear?

@illavoluntas
Copy link
Contributor

Just tried

  • quitting
  • -resetting defaults
  • opening app

problem is still there.

Screen.Recording.2024-09-07.at.10.19.41.AM.mov

Why does your dock instantly disappear?

Might be some trick using Terminal or simply animations are disabled (accessibility feature).

@illavoluntas
Copy link
Contributor

@ejbills Are you able to reproduce this bug?

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

I think it's from disabling the delay to open the dock. I use tinkertool to activate that.

68997

Why does your dock instantly disappear?

@ejbills
Copy link
Owner

ejbills commented Sep 7, 2024

@gkrawiec it appears you ran this command to speed up the dock hiding animation:
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock

Can you please run this command to reset it to default, and see if the issue persists:
defaults delete com.apple.Dock autohide-delay; killall Dock

Can you disable that option in tinker tool and see if it fixes the issue?

@ejbills
Copy link
Owner

ejbills commented Sep 7, 2024

i.e;

please try to untick these 2 options:

Disable animation when hiding or showing Dock
Disable delay when showing hidden Dock

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

i used Tinkertool to enable the animation option there (NOT the delay option I highlighted on my previous message)

ENABLING THE ANIMATION FIXES THE PROBLEM.

BUT.....i should mention, i've had the animation disabled since forever and it did not affect dockdoor. This problem started with last week's release.

thank you!

91706

@ejbills
Copy link
Owner

ejbills commented Sep 7, 2024

i used Tinkertool to enable the animation option there (NOT the delay option I highlighted on my previous message)

ENABLING THE ANIMATION FIXES THE PROBLEM.

BUT.....i should mention, i've had the animation disabled since forever and it did not affect dockdoor. This problem started with last week's release.

thank you!

91706

I figured that was the issue, it's just something we didn't test for. I will see if I can make it compatible with this tinker tool option.

@illavoluntas
Copy link
Contributor

If I remember correctly 1.2.0 changed the way DockDoor detected the Dock. This might be connected.

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

If I remember correctly 1.2.0 changed the way DockDoor detected the Dock. This might be connected.

Great catch. It didnt even cross my mind I have a non standard setting for the dock animation. It is something I just disable when I install macos.

thank you!

@illavoluntas
Copy link
Contributor

If I remember correctly 1.2.0 changed the way DockDoor detected the Dock. This might be connected.

Great catch. It didnt even cross my mind I have a non standard setting for the dock animation. It is something I just disable when I install macos.

thank you!

You're welcome @gkrawiec! I was pleased to investigate the source of the problem 🙂

@illavoluntas
Copy link
Contributor

illavoluntas commented Sep 7, 2024

@ejbills TinkerTool isn't an open-source program. I hope you can figure out how it disables the Dock animation.

@gkrawiec
Copy link
Author

gkrawiec commented Sep 7, 2024

maybe this?
https://www.xda-developers.com/how-accelerate-dock-macos-terminal/

@ejbills TinkerTool isn't an open-source program. I hope you can figure out how it disables the Dock animation.

@illavoluntas
Copy link
Contributor

illavoluntas commented Sep 7, 2024

Oh, yes, I even watched a video today on how to speed up this animation 🤦‍♂️.

@ejbills
Copy link
Owner

ejbills commented Sep 7, 2024

@ejbills TinkerTool isn't an open-source program. I hope you can figure out how it disables the Dock animation.

Anything that changes how the dock operates is simply editing the dock prefs file. This option in tinker tool is literally just running this command:

defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock

@illavoluntas
Copy link
Contributor

No problem then, let's hope there is a possible patch for DockDoor! 🚀

@MattSuda
Copy link

MattSuda commented Sep 7, 2024

I'm having the same issue with hovering over the window previews since the recent update.

I also have dock animations sped up using TinkerTool.

I'm really hoping that the recent changes can be updated to support these faster animations. I never had this issue with HyperDock. The Dock is too slow without these options enabled, and I find the faster animations to be much better.

@ejbills ejbills changed the title [BUG] Moving pointer from dock icon to preview causes preview to close [BUG] Dock with sped up animations causes prematurely hidden window Sep 7, 2024
@MattSuda
Copy link

MattSuda commented Sep 24, 2024

Not sure if it's related to this issue, but DockDoor just randomly stops running.

I restart DockDoor and I see it's running for a while and then suddenly it's not open and running anymore. It just closes / crashes in the background. I haven't seen any other reports, so might be related to this issue here.

@illavoluntas
Copy link
Contributor

Not sure if it's related to this issue, but DockDoor just randomly stops running.

I restart DockDoor and I see it's running for a while and then suddenly it's not open and running anymore. It just closes / crashes in the background. I haven't seen any other reports, so might be related to this issue here.

#243 is similar, looks like that the bug reappeared…

@MattSuda
Copy link

With the previous bug, the preview windows would not show up, but the app would still be open. For this bug, when I check the menubar, the icon is also gone like the app has been closed out. Seems to happen after a few days of the app running.

Since I haven't seen any other reports, I thought it might be due to this other bug I am having because I have the sped up dock animations.

I'll keep an eye on the bug and next time I will check to see if the app process is still running or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants