Quitty icon indicating copy to clipboard operation
Quitty copied to clipboard

Possible bug: Apple Notes does not quit when using a non-zero quit delay

Open RaveBro opened this issue 2 months ago • 1 comments

Hi,

I believe I may have found an issue with Quitty's delayed-quit behavior that appears to affect Apple Notes.

When I configure Quitty with a non-zero quit delay and close the last visible Notes window, Notes remains running rather than terminating after the configured delay. The white running indicator remains underneath Notes in the Dock.

I initially thought this might affect Apple applications generally, but I tested Messages with the same delayed-quit configuration and Messages terminated correctly.

Looking at Quitty's log, the Notes behavior appears to be related to the secondary window check.

After closing the last visible Notes window, Quitty receives the window-destroyed event, but later reports:

AX reported 0 but CGWindowList found windows for Notes. Aborting.

Immediately before that, it repeatedly detects:

Found unnamed window ... on another Space (746x546)

I was able to reproduce the same unnamed 746×546 window detection more than once.

By comparison, Messages follows what appears to be the expected delayed-quit sequence:

Final check saw 0 windows for Messages. Waiting for a second confirmation.

followed by:

Final check confirmed 0 windows twice for Messages. Terminating.

So the quit-delay/confirmation mechanism itself appears to be working. It seems possible that Notes maintains an unnamed CGWindowList entry after its last visible window is closed, and Quitty is treating that window as sufficient reason to abort the pending quit.

Reproduction steps:

Add Apple Notes to Quitty.

Configure a non-zero quit delay.

Open Notes and display its main window.

Close the last visible Notes window.

Wait beyond the configured quit delay.

Notes remains running in the Dock.

The Quitty log reports that AX sees zero windows, but CGWindowList finds an unnamed 746×546 window and aborts.

For comparison, I tested Apple Messages under the same conditions and it terminated normally after the delay.

Thanks for taking a look.

RaveBro avatar Sep 10 '26 19:09 RaveBro

The reason for this phenomenon is normal because different applications have different window management mechanisms. I have set up a feedback mechanism in Quitty, where you can provide feedback for each application's every operation, such as "Won't quit" or "False quit". You can try to provide feedback through the menu bar or app window, and Quitty will make adjustments accordingly to adapt to your needs, which may solve the problem you are facing. Of course, some applications may still not reach an ideal control state even after multiple feedbacks, which is also a limitation of the system.

chentao1006 avatar Sep 11 '26 00:09 chentao1006