SlowQuitApps icon indicating copy to clipboard operation
SlowQuitApps copied to clipboard

Feature Request - In on-quit text overlay showing app name, provide count of open windows

Open matthewshannon opened this issue 6 years ago • 1 comments

I'm not sure how viable this is, but it would be great to show next to the App Name text overlay (seen on quit) a count of the number of windows open associated with the app (should this be able to be determined)

If it is difficult to determine in a generic manner, maybe it would be possible to just focus on some common apps like Safari and TextEdit and XCode

This feature request is almost a sibling to https://github.com/dteoh/SlowQuitApps/issues/62

matthewshannon avatar Feb 05 '20 03:02 matthewshannon

After doing some prototyping, it is not possible to provide an accurate count of "open" "windows".

It is possible to provide a count of visible (eg. not minimized into the dock) windows.

To count non-visible windows makes the entire thing inaccurate, because there are actually many components that are considered "windows". For example, the menu bar is a window, popover menus in the menubar are windows. Some of these things can be filtered out, but it doesn't really solve things for all apps. For example, Firefox has a lot of invisible windows (no relation to tabs).

So right now, I am not going to implement this feature because my sense is that it will just generate more bug reports.

dteoh avatar Apr 10 '20 00:04 dteoh