onebadidea / swiftquit

Automatic quitting of macOS apps when closing their windows.
GNU General Public License v3.0
285 stars 14 forks source link

Windows that are hidden/minimised/on another desktop aren't counted #7

Open nihaals opened 1 year ago

nihaals commented 1 year ago

If a window is minimised, hidden, or on a different desktop to the current one, it isn't counted as being open and the app will be quit.

Related: https://github.com/onebadidea/swiftquit/issues/1#issuecomment-1357655544

onebadidea commented 1 year ago

@nihaals Can you please let me know what apps you are noticing this for? I tested with sublime text and it seems to function correctly for me.

nihaals commented 1 year ago

TextEdit seems to do it. I just tested 3 different cases (on v1.3):

marleixo commented 1 year ago

Hello! I had the same situation here, it looks as if it can't see the windows in other desktops or even in full screen.

  1. Open Chrome
  2. Put it on full screen
  3. Go back to the original desktop
  4. Run Close Windowless Apps from the menu bar
  5. Boom! It closes Chrome
samcarter commented 1 year ago

A similar problem happens with Adobe Reader.

  1. Open pdf in Adobe Reader
  2. press cmd+L to start presentation mode
  3. after a few moments, the app closes