On Thu Feb 29 17:23:38 2024 +0000, Tim Clem wrote:
`doOrderOut` is called when a window is closed, but the reverse isn't always true - there are times when a window orders out, but not in response to it being closed (just being hidden, for example). So that check needs to happen in two places to catch both cases. As for the CrossOver situation, we can discuss that internally. There's another piece that needs to come in because of the proxy apps we make. I am concerned about the default app icon showing up in the dock though. Let me see if I can reproduce that.
But if `doOrderOut` is called when the window is closed, do you also need to call `maybeHideDockIconDueToWindowOrderingOut` in `NSWindowWillCloseNotification`?
I observed the behavior with the default icon on Catalina if that helps.