Why Your Windows Reopen (Or Don’t) As You Expect

Have you noticed that when you restart your Mac or relaunch an app, your previous windows and documents sometimes reappear exactly as you left them, but at other times you’re greeted with a clean slate?

This behavior is controlled by Resume, a technology introduced in OS X 10.7 Lion back in 2011. Resume automatically reopens app windows and documents so you can pick up where you left off after a restart or app relaunch. Apple’s goal was to make macOS work more like iOS, which tries to preserve your place in apps. However, many Mac users found it confusing when apps opened old documents or appeared in unexpected positions when the number of displays changed. Some also objected to how long it took to open old documents that were not relevant to the task at hand. Apple quickly reversed course and made reopening apps and windows optional.

Users are much more familiar with how the iPhone and iPad work now, so you may wish your Mac apps remembered their open documents and window positions. Various settings control this behavior, but it can be hard to find them and understand what they’ll do. Let’s explore how Resume works and how you can make it do what you want.

First, note that Resume operates in two distinct situations. One applies only at restart or logout, and you decide at that moment. The other governs what happens every time you quit and relaunch an app and is controlled by a persistent system setting.

The “Reopen Windows” Option at Restart

Whenever you restart, shut down, or log out of your Mac, macOS asks whether you want to reopen your apps and windows when you log back in. You’ve undoubtedly seen the checkbox in the confirmation dialog: “Reopen windows when logging back in.” When the checkbox is selected, macOS dutifully relaunches the currently running apps after you log in, putting you back where you were. If you uncheck it, your Mac will start fresh, without reloading previously open apps.

macOS remembers how you’ve selected this checkbox, so if it’s checked when you click Restart, it will also be selected the next time you restart, and vice versa. If you ever perform a forced restart or skip the dialog by holding the Option key when choosing Restart or Shut Down, macOS uses the last known state of that checkbox on the next startup.

Many users either love or hate the “Reopen windows” behavior. For those who enjoy having their entire workspace restored after a reboot, keeping that checkbox checked makes sense. For others, including many IT professionals, the point of a reboot is to start fresh. Pick whichever behavior you prefer.

Controlling Resume When Relaunching Apps

Resume also governs what happens each time you quit and reopen an individual app. This behavior is controlled by a switch in System Settings > Desktop & Dock under the Windows section, labeled “Close windows when quitting an application.”

When this “Close windows” switch is turned on—it’s the default—macOS will close all windows and discard their restorable state before allowing an app to quit. Because macOS has closed the windows before quitting, there’s nothing for Resume to restore when you next launch that app. Effectively, the app will always start fresh with no memory of past windows (unless it has its own session-restore mechanism).

On the other hand, when this option is turned off, quitting an app will not discard its windows, so when you reopen the app later, Resume will automatically restore whatever documents and windows you had open, putting you right back where you left off.

There are three main scenarios where Resume can have effects that you may or may not like:

  • Document-centric apps: With these apps, like Pages and Numbers, you work on individual documents, each of which opens in its own window. When “Close windows” is enabled, apps start fresh on each launch; when it’s disabled, the documents you were working on when you quit reopen automatically.
  • Unsaved documents: As a corollary to the previous scenario, if you have unsaved documents open when “Close windows” is on, you’ll be prompted to save your changes before the window is closed. When “Close windows” is off, you won’t be prompted because those documents—with all their unsaved changes—will open automatically at the next launch.
  • Window-based apps: Other apps, like Mail and Messages, display their content in a main window. They’ll open this window regardless of the “Close windows” setting. However, Resume determines where that window appears. If “Close windows” is turned on, macOS does not remember which display or Space the window occupied, so the app often reopens on the primary display, even if that’s not where it was when it quit.

Most users have no idea that this “Close windows” setting exists or what it does. If you’re irritated by having to reopen Pages documents you were working on before or reposition Mail’s window after every relaunch, make sure “Close windows” is turned off. Conversely, leave it on if you want apps to start fresh.

Exceptions and Caveats

For most people, controlling Resume using the “Reopen windows” checkbox and the “Close windows” switch is sufficient. However, some people may want more control or wonder why some apps ignore those settings.

  • Nonstandard apps: Everything we’ve said so far describes the behavior of standard apps using Apple’s recommended development frameworks and tools. Some apps don’t use Apple tools or play by Apple’s rules—we’re looking at you, Microsoft—and will ignore the Resume settings. Don’t be surprised if Word, Excel, and PowerPoint fail to act as described.
  • Turn off Resume per launch: If you set apps to restore their windows by turning off the “Close windows” switch, you can override that on a one-off basis in some apps by holding the Shift key down as they launch. This trick doesn’t work in all apps, but it’s worth trying.
  • Custom session restore: Some apps manage session restoration on their own, most notably Safari and apps built with the Electron framework, such as Slack, Discord, and Notion. For instance, in Safari > Settings > General > Safari opens with, you can choose a new window, a new private window, all windows from the last session, or all non-private windows from the last session. With such apps, look for internal settings that control their behavior.
  • Login Items: Even if you deselect “Reopen windows” when restarting, apps and documents that you’ve added as login items in System Settings > General > Login Items & Extensions > Open at Login will still open. Think of this as a manual Resume—you’ll restart to a preset workspace, not to the way things were when you restarted. Some software may also install helper apps that control what appears at launch.
  • Full-screen apps and Spaces: Apps that were last used in full-screen mode reopen into their own Spaces when “Close windows” is disabled. After a restart or relaunch, the app may appear not to have reopened because it is occupying a separate Space that is currently not visible.

In practice, Resume comes down to a simple set of choices:

  • If you want your workspace restored after a restart, select “Reopen windows when logging back in.” Ensuring that apps—even if they’re set as login items—open full-screen or in particular Spaces also requires “Close windows when quitting an application” to be turned off.
  • If you want apps to remember documents (even unsaved documents), window positions, and displays when you quit and relaunch them, turn off “Close windows.”
  • If you want a clean slate, deselect “Reopen windows” and leave “Close windows” turned on.

When windows don’t appear as you expect, check these two settings as your first troubleshooting step.

(Featured image by iStock.com/BigNazik)


Social Media: Frustrated when your Mac apps don’t remember their windows—or when they stubbornly reopen old documents? Two little-discussed settings control this behavior. Here’s how Apple’s Resume technology really works.

Similar Posts

  • _Dear Friends_,

    Well I didn’t win the Powerball so I guess I have to stick with my day job a bit longer. Vermont finally got some winter weather and more snow is in the forecast. It has even gotten a bit cooler down here in the Keys where when it dips below 70° F the down coats and shoes come out.

    I am still struggling a bit with tropical gardening. A large caterpillar ate the leaves off one of my tomato plants overnight and for some reason I cannot get my citrus trees to blossom. I keep feeding and watering them in the hopes that my Key Limes, Myers lemon and Naval oranges will blossom but they seem to just make greenery. We did discover that bananas love coffee grounds and since Grace and I produce a lot of coffee grounds those plants are doing well.

    I upgraded myself from the original iPad mini to the iPad mini 4 before I went to Las Vegas and the differences are remarkable. Not only is it thinner and lighter but the screen is much better, the speed is a lot faster and I simply love the Touch ID. I had been trying to activate my old iPad mini with my finger after being used to that with my iPhone so it is a welcome addition for my primary reading device. I prefer the iPad mini to the full-size iPad or the iPad Pro because of the size. It feels like a paperback book in my hand and even on a crowded airplane it is comfortable to use.

    Do you know about tethering? I don’t know how many people I have talked out of buying a cellular iPad by explaining tethering. I guess that is a bit against my interests as you pay an extra $130 for cellular versions of the iPad. If you buy that cellular version you also need a cell contract which might be another $30 a month. Tethering is a much better idea. Tethering is where you share the cellular connection from your iPhone with your iPad. You activate Personal Hot Spot and boom you have your own private wireless network over cellular. The other day Comcast had an outage here in the Keys and I used tethering with my Mac to work all day. Most carriers will charge you a little more for tethering but it is less than the $30. With my iPad, I simply choose “donphone” from the wireless setup and I am connected with the same speed as if I had the cellular version of the iPad.

    This week’s Kibbles & Bytes exclusive is a “**fully configured 13-inch MacBook Air.**”:http://www.smalldog.com/wag900002125/special-save-50-on-apple-refurbished-macbook-air-and-free-hammerhead-case This Apple factory reconditioned MacBook Air carries the same 1-year Apple warranty as new Macs and we are bundling it with AppleCare so you actually get 3-years of warranty protection and 3-years of free Apple technical support instead of the normal 90-days. This MacBook Air is the same as the one I use and love. It features a 1.7GHz i7 processor, 8GB of ram and a big 512GB SSD drive. I am going to take $50 off and include a free Hammerhead neoprene case for this MacBook Air. Regular price is $1639.97 but for Kibbles & Bytes readers this week only (while supplies last) the price for this bundle is “**$1559.98.**”:http://www.smalldog.com/wag900002125/special-save-50-on-apple-refurbished-macbook-air-and-free-hammerhead-case

  • Advice for Good Office Ergonomics

    Let’s look at how to keep your body comfortable and healthy when you interact physically with your Mac. In a word: ergonomics. You’ll…

  • Hey Dora…

    So we have Siri and I’ve been playing around with Alexa (don’t tell Grace!) but now I have Dora, too. Dora is the computer from Robert Heinlein’s Time Enough for Love, The Number of the Beast, The Cat Who Walks Through Walls which were some of my favorite Sci-Fi as a kid.

    I was helping a customer that has pretty bad arthritis and struggled to use the keyboard. I was straightening out her email and getting her off of AOL (something we do often!) and noticed how difficult it was to type a simple email. So, I showed her dictation on the Mac and wow, it was like a light just got switched on. Dictation has come a long way and if your are on Mavericks, Yosemite or El Capitan, Apple’s enhanced dictation works wonderfully.

    Dictation will not be a satisfying experience for you if you have a lot of noise in the room, i.e. other people talking, music, etc, but if you are working alone in a relatively quiet environment it can be a great tool not only for dictating that email but you can also use spoken commands to direct your Mac to take action.

    Setting up Enhanced Dictation

    * Open System Preferences, then click on Dictation & Speech. Turn on Dictation and set up your options.

    * Click *Use Enhanced Dictation*. This will download a 1.2GB file so that you can dictate without internet connection.

    * Choose your language and dialect. Some languages, such as English, have multiple dialects.

    * Choose the keyboard shortcut you will use to signal that you’re ready to start dictating. The default is pressing the function Fn key twice, which I find convenient but you can customize it.

    * Choose your preferred microphone from the pop-up menu below the microphone icon. Normally, you use the internal microphone but if you are using a headset or external microphone you can choose that.

    Using Dictation

    * Go to a document or other text field and place the insertion point where you want your dictated text to appear.

    * Press the keyboard shortcut for starting dictation. The default shortcut is Fn Fn (press the Fn key twice). Or choose Edit > Start Dictation. When your Mac is listening, it displays a microphone with an input meter that rises and falls as you speak.

    * Speak the words that you want your Mac to type. Use dictation commands to add punctuation, formatting, and more.

    * To stop dictating, click Done below the microphone icon, or press Fn, or switch to another window.

    The more you use Dictation, the better it understands you. Dictation learns the characteristics of your voice and adapts to your accent.

    I will go into some of the more enhanced features like Dictation Commands in next week’s Kibbles & Bytes but I can tell Dora to Open an App, select text, move up or down and much more. I think you will like dictation on the Mac, give it a try!