ejbills / DockDoor

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

[BUG] Doesn't work well with Stage Manager #299

Open Hazza42 opened 1 week ago

Hazza42 commented 1 week ago

Describe the bug

When stage manager is active, window previews are distorted and very low resolution.

Steps to reproduce

Expected behavior

For window previews to appear flat.

Actual behavior

It seems window previews are being captured from the stage manager area on the left side of the screen where they are tilted.

Screenshots

IMG_0678

Environment

illavoluntas commented 1 week ago

That’s indeed a strange behavior, and I suppose it hasn’t been seen on macOS 14, otherwise it would have been reported a long time ago… But technically, the windows really go into Stage Manager, therefore they become like that.

Hazza42 commented 1 week ago

Looks like it’s time to update MacOS then! Fingers crossed that fixed it

illavoluntas commented 1 week ago

Looks like it’s time to update MacOS then! Fingers crossed that fixed it

I don't think you really need to update macOS for that, I just tested with macOS 14 and it's not very satisfying... Windows are in low definition and it's not useful at all.

Hazza42 commented 1 week ago

Perhaps the solution for now then is to just disable Stage Manager? Maybe the reason nobody has reported it yet is because most people just don’t use Stage Manager.

illavoluntas commented 1 week ago

Perhaps the solution for now then is to just disable Stage Manager? Maybe the reason nobody has reported it yet is because most people just don’t use Stage Manager.

Yeah, I think you're right. That's what I would do waiting for this issue to be addressed.

illavoluntas commented 1 week ago

Thanks for reporting it :smile:, looks like you're the first to report (maybe not the first one to notice) this bug.

ejbills commented 1 week ago

Right, I'm taking an educated guess that there isn't really anything for DockDoor to account for here. DockDoor sees the window belongs to the app, grabs the preview available via the screen capture API, and returns it. Unfortunately, the window is just tiny-so it has a tiny image preview.

This issue was discovered way back a few months ago when I was doing closed alpha testing when DockDoor barely worked.😆

I will keep this discussion open for now, perhaps projects like AltTab have discovered a method of getting around this.

illavoluntas commented 1 week ago

Well, isn’t Stage Manager a sort of alternative to DockDoor in itself? It doesn’t have all features but it’s very similar.

illavoluntas commented 1 week ago

I suppose someone who uses Stage Manager is less prone to open the Dock… because all windows are already available with 1 to x clicks (Stage Manager is very hard to use to switch between windows).