When using multiple Spaces on macOS, switching away from a Space causes Quitty to think that the apps left open on the previous Space have no windows, and it quits them. The windows are still open, just on a Space that is not currently active.
Steps to reproduce
- Open an app (for example, Xcode or VS Code) with at least one window on Space 1.
- Switch to Space 2 using Mission Control, a trackpad gesture, or a keyboard shortcut.
- Observe that Quitty quits the app that was left open on Space 1.
Expected behavior
Quitty should not quit an app just because its windows are not visible on the currently active Space. A window on a different Space is still open, not closed.
Actual behavior
Quitty appears to treat "not visible on the current Space" the same as "zero windows", and terminates the app.
Suspected cause
Based on the README's description of the detection logic (raw AXObserver on AXWindowClosed, followed by a check of the app's current window list), the window count check via the Accessibility API may only be returning windows on the active Space, rather than all open windows across every Space. This would make the "zero windows" check produce a false positive whenever the last window on the active Space belongs to an app whose other windows live on a different Space.
Environment
macOS version: 27.0 (but I noticed the same behaviour on 26.5 as well)
Quitty version: 1.1.17
Number of Spaces in use: 2
When using multiple Spaces on macOS, switching away from a Space causes Quitty to think that the apps left open on the previous Space have no windows, and it quits them. The windows are still open, just on a Space that is not currently active.
Steps to reproduce
Expected behavior
Quitty should not quit an app just because its windows are not visible on the currently active Space. A window on a different Space is still open, not closed.
Actual behavior
Quitty appears to treat "not visible on the current Space" the same as "zero windows", and terminates the app.
Suspected cause
Based on the README's description of the detection logic (raw AXObserver on AXWindowClosed, followed by a check of the app's current window list), the window count check via the Accessibility API may only be returning windows on the active Space, rather than all open windows across every Space. This would make the "zero windows" check produce a false positive whenever the last window on the active Space belongs to an app whose other windows live on a different Space.
Environment
macOS version: 27.0 (but I noticed the same behaviour on 26.5 as well)
Quitty version: 1.1.17
Number of Spaces in use: 2