Quit and Discard Windows in Lion
Mac Tip #503, 14 September 2011
Lion tends to automatically open windows that were open when you quit an app. This can be very handy or very annoying! Here’s how it works and how to make sure you’re not caught out by this new feature.
In Lion here’s an experiment to try.
- Open Safari and visit a website, perhaps MacTips.
- Quit Safari.
- Open Safari again.
Lion saves documents and restores windows
What you should see is that when you open Safari again it automatically calls up MacTips, even though this time you didn’t need to type in the address.
That’s because Lion often restores whatever windows were open when you quit an app.
Try it with some other apps too, perhaps TextEdit:
- Open TextEdit and type a few words into a new document.
- Quit TextEdit.
- Open TextEdit again.
You should find that when you open TextEdit again it shows you the document you’d been typing in, even though you didn’t save it before you quit.
Quit and Discard Windows
Restoring windows is a very handy feature, and certainly helps for those times when the battery goes dead or you quit and forget to save, or you have to restart the machine.
It’s not so handy though when it opens up a confidential document when you were trying to show a visitor the story of your holiday, or when the web browser shows your partner the site you were buying a surprise gift from.
So you have the option to
Quit and Discard Windows. Then when you open the app again it will start up fresh and not show those documents.
- Hold down the
Option (⌥)key and choose
Quit and Discard Windowsfrom the
- Or press
Command (⌘) Option (⌥) Q.
The app quits, and when you start it up again the windows that were open when you quit should not open automatically.
Some windows still restore automatically
Quit and Discard Windows works well for documents that have been saved, but it’s another story if you haven’t ever saved a document.
My testing showed that an unsaved TextEdit document would reopen whether I chose
Quit and Discard Windows. To prevent an unsaved document from reopening automatically close it before you quit the app.
Comments and guest Tips
Do tell us in the Comments how you’re finding this new feature of Lion.
A quick note for those many readers who receive the Tips by RSS or by email: to leave a Comment please visit this Tip on the website and add your comment there.
Could you write a guest MacTip? If so, contact Miraz.
Credit where it’s due
This Tip was written by Miraz Jordan, http://mactips.info, and is available under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
These books will help you with Lion
I recommend the ebooks Take Control of Upgrading to Lion and Take Control of Using Lion to anyone moving to Lion. I’ve read them myself and they were extremely helpful. Click the covers below to buy through my affiliate link. Every book you buy through my link helps MacTips.