Mojave Finder Tabs Reopen

I recently updated to Mojave, usually I use multiple tabs finder windows, after I close the windows it used to reopen to the last state (with all the tabs) when I open finder app on the dock. This was working in High Sierra. Is this a bug in Mojave or I have just overlooked a setting?


Thanks in advance.

MacBook Pro TouchBar and Touch ID, macOS Mojave (10.14)

Posted on Oct 1, 2018 6:55 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 21, 2019 4:17 AM

I agree with all on this thread who've stated High Sierra behaves in this manner:

    1. have three Finder tabs open;
    2. mouse click Finder's red-circle-X to close it; or press cmd-q to close Finder completely;
    3. mouse click Finder dock icon;

4a. Finder opens a new window containing three tabs.


I, further, agree with all on this thread who've stated that the behavior of #4, above, is different in Mojave, e.g.:

4b. Finder opens a new window containing only on tab.


I've found a solution that appears, at first blush, to work for me in Mojave.

It comes to us courtesy of the user Eagle on apple.stackexchange.com:

https://apple.stackexchange.com/questions/100433/finder-reopen-last-closed-window/100435

Eagle states:

    • Click on top-left Apple icon
    • Then click on System Preferences
    • Then General
    • And then uncheck the box saying, "Close windows when quitting an app"
    • It will save your session of Finder and when you restart your system it will show you last opened tabs of the session


This appears to work for me when I perform my original workflow, above, items 1-4a.

Note that it also appears to reopen the tabs to their prior directory/drive locations, if present.

I had not tested that behavior in High Sierra; so I can't speak to that whether it's consistent or not.

Further note that if a tab showed contents of a directory/drive that has been removed/unmounted between Finder sessions.

Finder simply does not open that tab; but opens all other previous tabs that it is able.


I've not tested how this System Preferences->General change effects, or afflicts, other applications from session to session.

So, as you'd surmise...YMMV.


Hope this helps.


Cheers!

78 replies

Oct 24, 2018 4:27 PM in response to jacky719

Finder behavior has definitely changed in Mojave!

In case you haven't found a solution, try the following.


Leave your Finder window open with all your preferred Tabs open.

Shut Down, make sure the box "Reopen windows when logging back in" is checked.


User uploaded file


When you Start Up again, the Finder window will reopen with all your preferred Tabs.


I wasn't satisfied with this solution, but at least I don't have to reopen every Finder Tab I was working on after Restarting.


Hopefully it works for you.

Nov 15, 2018 5:24 AM in response to dialabrain

Yeah. I meant that if an answer gets the most clicks on the "helpful" button, then it will be at the top of the discussion forum like it's the solution to the question. And then next to it you see the "Apple Recommended" icon. Look: User uploaded file


But saying "There is no setting to change it back" is not fixing the problem at all.

And later on in this thread, I found out that, from another user, that you can leave Finder open when you shut down your computer and then tick the "re-open windows" option. So then Finder will open with all the tabs that you had before.
I tried it, it works. It's all I wanted. A way for Mojave to remember my open tabs in Finder when I turn the computer on in the morning.
So that should be the "Apple recommended" answer, it's all I'm saying.

Dec 27, 2018 9:05 PM in response to jacky719

  1. OS X remembered the tabs that were open and restored them with a click on the Finder icon in the Dock
  2. It worked this way since Finder tabs were introduced in ~2013 (Mavericks), but they broke in Yosemite (~2014) when it also did not remember to save the tabs, just like it's failing in Mojave
  3. Besides the workaround suggested in this thread RE: leaving the window open when you shutdown/restart,
  4. I created an AppleScript workaround for myself in 2014 and saved it as an Application for easy one-click restoration of my Finder window setup. Happy to share since Apple has made it useful again.
  5. The line near the end about setting "bounds of the front Finder window" needs to be adjusted for your screen. See explanation for the Bounds property: https://www.macosxautomation.com/applescript/firsttutorial/11.html


AppleScript:

  1. Copy/paste the code block into Script Editor, modifying the paths as needed for your own tab setup
  2. Save As & choose File Format of "Application"
  3. Put it someplace accessible


Note, testing in Script Editor or running the Application for the first time will cause an error / permission prompt since Apple now requires apps get explicit permission to send System Events in Mojave. To fix:

  1. Open Mojave's System Preferences - Security & Privacy
  2. Authenticate with an administrator account
  3. Click the "Privacy" tab
  4. In the left sidebar, click "Accessibility"
  5. In the box at the right, click the plus button and then add Applications - Utilities - Script Editor (and make sure the box is checked)
  6. OS X will prompt you to grant access for the app to control other apps. Once granted it will be listed in the Privacy tab under Automation with a checkmark next to the items it now can access. Review the AppleScript below and you can see it does nothing shady or dangerous beyond opening the exact windows and tabs you want it to.


Notes:

if you need to open a tab to a folder located on an external but physically attached disk modify the location for the last command group or delete the group entirely.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mojave Finder Tabs Reopen

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.