ejbills / DockDoor

Window peeking for macOS
GNU General Public License v3.0
891 stars 26 forks source link

Feature Request: Delay to preview next app #54

Open brunbjoern opened 1 month ago

brunbjoern commented 1 month ago

We have a hover-windows-open-delay setting which delays the time until a preview is shown. All following previews of other apps will be displayed immediately which sometimes make it difficult to click on an preview to switch to that window. E.g. my Finder Icon with quite a number of open windows is right next to my Mail icon. When trying to move the mouse to the Finder window I would like to switch to, a lot of times dockdock switches to the Mail window previews.

This could be prevented by having a configurable delay before displaying the next App's preview windows, e.g. a "Next Window Open Delay".

(I hope I there is not already an existing Issue for this)

brunbjoern commented 1 month ago

Why this is important

I've tried to visualize why a configurable delay to display the next applications dock preview comes quite handy: If I want to switch to the right window going the direct path (red arrow) with the cursor results in the next application's window pop up (in the sample above: Mail), preventing to ever get to choose the finder window. Only by not crossing the next apps icon (e.g. going via the green arrow) I am able to switch to the preferred window.

If you add a configurable delay before switching to the next app's dock preview this can be prevented. This is something the mother of all Dock Preview Tools, HyperDock, does to make the usage more intuitive.

brunbjoern commented 1 month ago

With additional delay (or some other magic - whatever, it feels more natural): https://github.com/user-attachments/assets/648315ab-e63f-4258-a076-84a997a9e655

Current implementation: https://github.com/user-attachments/assets/5a86adac-065d-4d61-9ab0-58e3546b399c