5 ms·
You're doing it wrong. This is the HIG quote from above: > "In general, quit when users close the last open window in your app. [...] If users close the last
by nspragmatic 14y ago
You're doing it wrong.
This is the HIG quote from above:
> "In general, quit when users close the last open window in your app. [...] If users close the last remaining document window in a document-based app and switch to another app, it’s appropriate to quit the app" (emphasis added).
In TextEdit, close the last document and then _switch to another app_. You're missing the last step.
- tuananh 14y agodid it again adding the last step (switching to other app), still there though - Lion 10.7.4
- wtallis 14y agoThe TextEdit behavior might actually be the OS silently closing an unused application that implements the necessary hooks for saving state and indicating when clean-up is required on termination. That behavior was introduced in 10.7, but IIRC, can be disabled by the user.
- mbreese 14y agoWorked for me... Mountain Lion 10.8.1. 1) Opened TextEdit 2) Started a document 3) Closed document (Cmd-W) 4) Switched to Chrome 5) *poof* TextEdit disappeared
- tuananh 14y agoexactly what i did. maybe it was changed in ML.
- randallsquared 14y agoNo, Lion exhibits this behavior for me. Close last TextEdit window, switch to another app, see TextEdit silently go away from the dock.
- tuananh 14y agohow long do i need to wait to observe that behavior?
- randallsquared 14y agoIt's immediate. Doesn't happen on Snow Leopard, for me.