Re-open project windows at startup stopped working

I think since 1.6 (I'm at 1.6.0.1) "Re-open project windows at startup" stopped working.

I have project(s) open quit Source tree, start it again and I only get Bookmarks window.

This worked nicely before 1.6 versions.

One possible reason I can think of I completely disabled OS X automatic application state saving (it was disabled even before 1.6 updates) and Source Tree begun relying on it and wasn't before.

1 answer

1 accepted

Hi Ivan,

There's an option in your system preferences on your Mac that controls this. They're named differently and are reversed between OS X versions as follows:

  • 10.7: "Restore windows when quitting and re-opening apps" - this needs to be turned on in order to re-open your repo windows on startup.
  • 10.8: "Close windows when quitting application" - this needs to be turned off in order to re-open your repo windows on startup.

If you could try that setting out and see if it resolves your problem. If not, we can come back to it and re-address the issue.

Thanks!

Hi,

Then why is there option in Source Tree when it depends on OS to do that?

The most annoying new feature of OS X is that restore windows, which I disabled (i.e. forbid access to "~/Library/Saved Application State" folder ).

And before 1.6 version of Source Tree it worked well, and since 1.6 is the first app that I have where I miss function.

using stree in project folder from terminal opens project window, but still Bookmarks window pops up along it, which is kinda annoying but at least is a semi workaround.

Hey Ivan,

This is because we now honour the OS preferences from 10.7 onwards. There's a system preference because 10.6 needs support for it.

I've filed an issue to get rid of the SourceTree preference for 10.7+ here: https://jira.atlassian.com/browse/SRCTREE-1642

Hope that helps

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you