ejbills / DockDoor

Window peeking for macOS
https://dockdoor.net
GNU General Public License v3.0
1.07k stars 29 forks source link

[FR] Temporarily bring window to front as "Preview Hover Action" #248

Open Arnoud-B opened 1 month ago

Arnoud-B commented 1 month ago

Problem or Need

Need to see a preview of the original window in full resolution for readability, when hovering over different open application windows. Currently, it shows a huge full-screen capture of the application window when the window is small. On a large screen, this doesn't make it much easier to read (everything blown up in size), and it's not looking great.

Proposed Solution

Temporarily bring window to front while hovering over the preview in the dock, instead of showing a capture. Several other dock preview apps use this mechanism too.

Potential Impact

Should save system resources as well (speedy, no need to update/use a capture).

macOS Version

14.6.1

App Version

1.1.5

gkrawiec commented 1 month ago

this is how hyperdock does them. It's pretty good. I vote for this.

ShlomoCode commented 1 month ago

Currently, it shows a huge full-screen capture of the application window when the window is small. On a large screen, this doesn't make it much easier to read (everything blown up in size), and it's not looking great.

Aren't you simply asking for an option to adjust the scaling ratio of the magnified preview displayed on hover over the normal preview?

Arnoud-B commented 1 month ago

@ShlomoCode That could perhaps also be a solution, as long as the preview is shown in exactly the same spot as the window (so when you click on the thumbnail, the window is shown in exactly the same spot as the preview in a seamless, fast transition).

gkrawiec commented 1 month ago

the way other apps did it was to show a mini screenshot preview of the windows while mouse hovered over the dock icons. If you moved the pointer over the previews and kept moving the mini previews were simply highlighted with a border based on where the pointer was. if you selected a preview, the full size window became the front window. But, if you hovered over the preview, did not move and waited a second, it went into a mode were the full size live window came to the front but did not stay. As the pointer was moved from preview to preview the full size live window of the preview you were hovering on became the current front live window (live with video and everything). This continued until you either left the are of the dock and previews, in which case the the front window went back to whatever it was before you hovered over the previews, or if you clicked on a preview the now temporary live window became permanent. Hopefully this made some sense.