Quitty icon indicating copy to clipboard operation
Quitty copied to clipboard

Quitty repeatedly terminates the macOS loginwindow process

Open LloydPowell771 opened this issue 3 months ago • 3 comments

Summary

Quitty repeatedly auto-quits the macOS loginwindow process when operating in Exclude Mode. In the observed history, macOS appears to relaunch it and Quitty terminates it again every 15 seconds.

loginwindow is a critical system process responsible for login sessions, authentication, logout, restart and shutdown. It should never be monitored or terminated by an automatic app-quitting utility.

Observed behaviour

Quitty History recorded loginwindow terminations at:

  • 14:57:45
  • 14:58:00
  • 14:58:15
  • 14:58:30
  • 14:58:45

The consistent 15-second interval suggests a relaunch/termination loop. No logout or visible session failure was observed, but repeatedly terminating this process is unsafe.

A screenshot of the Quitty History is available if useful.

Expected behaviour

Quitty should always ignore loginwindow, regardless of Include or Exclude mode.

Relevant identifiers:

  • Bundle path: /System/Library/CoreServices/loginwindow.app
  • Bundle identifier: com.apple.loginwindow

Likely cause

The current system-process filter includes several CoreServices applications but does not include loginwindow:

https://github.com/chentao1006/Quitty/blob/main/Quitty/Settings.swift#L417-L468

Suggested fix

Protect critical system processes by bundle identifier as well as path, and explicitly include com.apple.loginwindow / /System/Library/CoreServices/loginwindow.app in the hard-coded ignore list.

Workaround

Manually adding loginwindow.app to the Quitty exclusion list stops Quitty from targeting it.

LloydPowell771 avatar Aug 25 '26 06:08 LloydPowell771

Thank you for the feedback. I will fix it.

chentao1006 avatar Aug 25 '26 06:08 chentao1006

I added some similar apps to the excluded list but I think system services like these should have been excluded anyway?

/System/Applications/Siri AI.app /System/Library/CoreServices/CoreLocationAgent.app /System/Library/CoreServices/CoreServicesUIAgent.app /System/Library/CoreServices/loginwindow.app /System/Library/CoreServices/PowerChime.app /System/Library/CoreServices/UserNotificationCenter.app /System/Library/CoreServices/WallpaperAgent.app /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/AquaAppearanceHelper.app /System/Library/PrivateFrameworks/UniversalAccess.framework/Versions/A/Resources/universalAccessAuthWarn.app

Also SecurityAgent. I'm not sure what this is or where it's located so I could not add it to the excluded list but I reported it as false quit.

patel-priyank avatar Aug 25 '26 08:08 patel-priyank

@patel-priyank Thanks for your feedback.

chentao1006 avatar Aug 25 '26 11:08 chentao1006