steventheworker / Dock-Expos--home

Window preview app for MacOS (on the dock) using App Exposé.
https://dockexpose.netlify.app
70 stars 0 forks source link

Dock Expose behavior changes when I add new tabs #30

Open aubreypwd opened 2 months ago

aubreypwd commented 2 months ago

When adding a new tab to a window (e.g., Finder or Terminal), clicking the Dock icon requires you to choose a window w/ Expose, even if there is only one window but it has multiple tabs.

This is inconsistent with single-window applications that do not have multiple tabs, where clicking the Dock icon simply switches to the only window without showing Exposé.

Additionally, when using the hover method (which I personally dislike), a choice is always given using Expose, even if the app only contains one window, regardless of whether it has tabs or not.

To clarify, I believe the correct behavior when clicking the Dock icon is to switch directly to the single window if there is only one, regardless of whether it has multiple tabs.

Screencast...

aubreypwd commented 1 month ago

I had an instance where Dock Expose started after a window was restored with multiple tabs, and for the only window (terminal) with multiple tabs (2), it didn't present a choice. But as soon as I created a 3rd tab it started asking me to choose again.

Seems like creating a tab seems to trigger this behavior.

Screencast...

steventheworker commented 1 month ago

Yup I ended up just doing what AltTab does, only difference I run that when a window is added/closed (instead of whenever there's a preview attempt).

aubreypwd commented 1 month ago

I see you closed it, no plans to change this behavior in the future?

steventheworker commented 1 month ago

Sorry should've mentioned I pushed a new update (v3.00.5). Let me know if it works or not, and I'll reopen the issue.

aubreypwd commented 1 month ago

CleanShot 2024-08-08 at 15 25 06

I keep opening it and it immediately dies.

aubreypwd commented 1 month ago

even re-added it in Privacy Settings for recording screen and accessibility add/remove

aubreypwd commented 1 month ago

Finally got it to start...

aubreypwd commented 1 month ago

Still seeing the same behavior with 3.00.5

steventheworker commented 1 month ago

Can you download AltTab and let me know if it lists the tabbed windows correctly?

ScreenHint - 8:10:24, 10:15:58 PM

aubreypwd commented 1 month ago

With "Show standard tabs as windows" disabled:

CleanShot 2024-08-12 at 08 05 49

...I get the right behavior, Finder lists only once for (1) window w/ (2) tabs:

CleanShot 2024-08-12 at 08 07 02


With "Show standard tabs as windows" enabled, I do see two finder instances, one for each tab:

CleanShot 2024-08-12 at 08 06 01