Safari does not restore last session

Discussion in 'OS X Mavericks (10.9)' started by bluewomble88, Jan 22, 2014.

  1. bluewomble88 macrumors regular

    Oct 9, 2009
    Sorry to be such a noob....

    In Safari preferences, I have chosen for it to open with all windows from last session. It simply doesn't work. I have tried clearing the cache etc but every time I open Safari it just shows the homepage.

    What am I doing wrong?
  2. DeltaMac macrumors G3


    Jul 30, 2003
    You're doing nothing wrong, just expecting a different result.
    The setting for "Safari opens with:" does NOT supersede the other window and tab settings.
    It operates according to the setting in System Preferences/General pane.

    When you open Safari, you get the home page, or whatever you have set from "New windows open with:"
    When you shutdown, or restart your Mac, while Safari remains open, then you get the setting as you expect - restoring to the last setting. You can choose either to restore your last session, with all windows, or a new session.
    If you prefer to see those windows from your last session reopened, then choose that from the History menu.
  3. bluewomble88 thread starter macrumors regular

    Oct 9, 2009
    Right then.
    If I close Safari with the Red Cross it does not restore my last session when I reopen. But, if I use CMD+Q and then restart, it loads my previous tabs no problem.

    What the hell is going on?
  4. honeysuckle macrumors newbie

    Oct 23, 2014
    Don't hit Cmd + Q!! - it closes down Safari and somehow seems to delete the last browsing session as well!!! Why would you post this advice??
  5. honeysuckle macrumors newbie

    Oct 23, 2014
    Now I can't get any last session windows - ever since I hit cmd + Q!!!!!!!!
    How do I undo this to get the last session back?
  6. DeltaMac macrumors G3


    Jul 30, 2003

    Open Safari, then the History menu
    Click "Reopen all windows from last session"

    Does that do what you want?
  7. honeysuckle macrumors newbie

    Oct 23, 2014
    No - nothing. All I get is the google search page with none of the previous tabs I just had open.

    What did I do when I hit cmd+Q?
  8. bobdamnit macrumors regular

    Mar 26, 2014
    Command+Q will quit Safari. It does the same thing as clicking the Safari menu, then selecting "Quit". It does NOT do the same thing as clicking the red X. (Closes open Safari window only)

    Selecting "Reopen all tabs and windows" in Safari's preferences should do exactly what it says, it should reopen all tabs and windows in Safari the next time it is started. (After selecting "Quit", or hitting command+Q)

    Make sure you have selected this option in the preferences. To test, open a webpage anywhere. Once it loads, tap command+Q. Safari will quit. Now, reopen Safari. Did the webpage you had loaded come back when Safari opened?

    If so, congrats. Its working. If not, the Safari preferences plist probably got corrupted and needs to be trashed.
  9. honeysuckle macrumors newbie

    Oct 23, 2014
    Thanks for the assistance.
    I don't see the option to select 'reopen all tabs and windows' on preferences. Which tab should it be under?
  10. honeysuckle macrumors newbie

    Oct 23, 2014
    This is what I get.
    There is no option for 'Safari opens with'

    Screen Shot 2014-11-14 at 12.55.06.png
  11. honeysuckle macrumors newbie

    Oct 23, 2014
    I seem to have found it - In my panic to try and sort out 'Reopen all windows from last session' I had unchecked the 'Close windows when quitting an application' which removed the option you mentioned.

    HOWEVER - I just tested 'Reopen all windows from last session' and that is now greyed out. But 'Reopen last closed window' i.e. singular window, brought back all the tabs I'd just closed.
    So not sure what's going on.

    But thank you so much for helping me out.

  12. andywc macrumors newbie

    Nov 26, 2014
    Last tabs may not open because of extensions

    In my case it was caused by the Extensions. When I disabled them the tabs reopened just fine. Before that I would see them reopen then immediately disappear and be replaced by a single tab of the last tab I was viewing.

    In my case it was the Selenium extension WebDrive 0.1. As soon as I disabled it everything worked fine.

    Start by disabling all the extensions by clicking the big OFF button on the extensions tab. Then see if the tabs reopen. In the General tab of System Preferences, make sure "Close windows when quitting an app" is checked on . And in Safari Preferences, General tab, "All windows from last session" is selected.
  13. cyguy48 macrumors newbie

    Jan 6, 2015
    Safari closes tabs

    3-4 times per day, Safari simply closes all tabs that were open. I have to go to sites and start all over. Pain in tush. Settings issue?
  14. lilanina macrumors newbie

    Apr 14, 2015
    Same problem

    Hi bluewomble88,

    got exactly the same problem as you here, did you find a solution?

    Best regards
  15. jubjubsan macrumors newbie

    Sep 9, 2015
    So I realise I'm extremely late to the party, but so glad you guys have fixed this issue for me!
    Mine was working just fine until I took it in for a Genius repair and when it came back it wouldn't save any open tabs when I quit Safari. I had to restore them all from History - so frustrating. I spent hours searching for an answer and was at the Genius Bar again today and even the Apple guy couldn't help me. Anyway, very relieved it's finally working!

    Just for future reference, as lilanina didn't seem to understand the solution...

    First you need to go to System Preferences > General and make sure the "Close Windows When Quitting an App" box is checked. This was my issue, it must have been unchecked at Apple. If this is unchecked you will not see the option in Safari Preferences "Safari Opens With". So, once checked, simply go to Safari > Preferences > General and change "Safari Opens With" to "All Windows From Last Session".

    Thanks for the help guys!

    Attached Files:

  16. Jadegirl macrumors newbie


    Sep 27, 2015
    Hi all

    New to Mac and having the same problem. What I'm confused about is what does the red x do that's different to using quit. The red x closes all my tabs and quit doesn't!
  17. DeltaMac macrumors G3


    Jul 30, 2003
    When you close a Safari window (the red X), that's all that happens. The Safari app stays open.
    It's a major difference between OS X and Windows.
    The red X closes an OS X app window, but usually nothing else happens. The app itself stays open. If you have multiple Safari windows open, each with its own tabs, then the red X closes only that one window, with its associated tabs.
    And, that window is no longer part of the Safari session. So, no reopen of that window that you manually closed. But when you Quit Safari (from the Safari menu), something different happens. All open windows quit with Safari, but are stored and available to use from Reopen All Windows from Last Session, under the History menu.
    Another item in OS X that is relevant is your System Preferences/General. Look at the setting "Close windows when quitting an app". If that box is un-checked, then you will get all windows back when you reopen an app, without needing to go to the History menu, if that's what you prefer.
  18. Jodiuh macrumors 6502

    Sep 15, 2009
    Haha, I did the same thing! Thanks!

    Thanks for explaining that in detail. I guess I don’t need this tho as I want all windows to reopen whenever I open the app…I think? LOL!

    Yup, it’s freakin me out. :(

    Can you help me understand why I would want this? So…I’m used to Firefox on a Windows machine and closing that w/ the X will close the program, take it out of RAM, etc. Opening the program will restore my last session.

    But I would have to drag the mouse to the bottom, do the 2 finger dance on the track pad, then select quit if I want to actually CLOSE a program? I suppose that makes sense, but what’s the point of closing a window if I have the option to minimize or the - button? I guess I just see this is as an extra step that’s unnecessary.

    Being new to MAC has been an experience and there’s some really cool stuff…but some of it just seem so closed off and backwards. I thought iOS was nasty with files, but OS X is nearly as bad!

    For example, if I want to work with some photos, I need to export them from a huge database file. I can’t just look @ them. Then when I imported them from a huge google dump, all the timelines got screwed up and the dates were reset for all the pics.

    If I didn’t already have an iPhone & iPad, I would consider returning the MBP 13 for a Spectre x360 13/15 or an XPS 13/15…the only thing really keeping me’s the screen. Even the upgraded screens on those notebooks lack the color accuracy or DCI-P3…which I really, really like. And or course that trackpad’s SICK. I guess I might have to go to Best Buy and check them out again…or maybe drive up to Fry’s or Microcenter since Best Buy doesn’t have the XPS 13 or 15 notebooks…just the 2in1’s.
  19. DeltaMac macrumors G3


    Jul 30, 2003
    If you want to quit an app, then simply press Command-Q.
    If you only want to close that window, then click the Red widget in the corner. Difference is that macOS does not quit the instance of that app, only the window. You can also press Command-W, which would close the currently open tab, or the current active window if there are no tabs active at the moment.

    macOS system is pretty good at doing what it needs to do to handle memory. if the system needs memory, and some is available in apps that are idle (such as an open app with no windows open), then the system will take the memory that it needs. There's not too much that you need to do manually. Just let the system do it.

    You DON'T have to use the native Photos app for your pictures. You can search on this site for photo library alternatives, or photo editing apps, unless you already have one that you like, such as Adobe Lightroom, or Photoshop Elements.
  20. Jodiuh macrumors 6502

    Sep 15, 2009
    Thanks, command+Q will work. I'm just so USED to NEEDING to close my Windows apps and especially Android as they like to go nuts w/ memory management. Also, I'm getting old and it's nice to just use whatever apps come with the notebook instead of adding more to the chaos, lol!
  21. DeltaMac macrumors G3


    Jul 30, 2003
    Muscle memory can sometimes be a rough partner, eh?
  22. AivaLight macrumors newbie

    Aug 16, 2018
    Screen Shot 2018-08-16 at 11.19.15 AM.png Screen Shot 2018-08-16 at 11.19.36 AM.png Hello Everyone!
    I am new to mac and have some troubles with my browsers. I have High Sierra 10.13.6
    Either Safari or Opera do not save my preferences, I set up after the browser closed to open where I left.
    There are screenshots of my settings.
    Can smbd advise me what else can I do to keep my settings in browsers?

Share This Page