Fetching articles...

Disable Automatic Termination

Have you noticed how some apps mysteriously crashes for no apparent reason? Like when trying to open a document in pages? There is a fix for that.

Look at this scenario:

  1. Open Pages
  2. Close the "open" dialog box
  3. Switch to the finder and try to pick a file to drag into pages (to open it).
  4. Pages crashes.

Turns out, that this is a "feature" to make Windows-users more accustomed to the mac when switching. Apparently Windows kills apps when their last window closes, and so Apple wants their apps to die with the last window as well.

Thankfully there is a remedy, open your Terminal and paste the following:

defaults write -g NSDisableAutomaticTermination -bool yes

Now your apps work as expected again.

Thankfully #2, only Apple's apps seems to be using this "functionality", so all third party apps should behave properly. For the next mac OS, 10.12, I only wish Apple does not introduce more stupidity like this. It could be their tagline:

Less stupidity with 10.12!


Hello! How nice of you stopping by! ❤️

My name is Olof Thorén, I am an indie developer from Stockholm, Sweden.

I really enjoy creating stuff, and that is the reason why I am doing this. I started working full-time on building apps in 2009.

At the moment my main focus is Feeds, a glorified news and RSS-reader that keeps track of the web for you. I also build Qiozk Solo, white-label magazine apps for (mainly Swedish) publishers. I have published ~75 Solo-apps though most of them are not active today. Aggressive Development has published 15 apps under its own name and many more for other companies.

Please feel free to say hello on twitter @olof_t or email olof@aggressive.se. Don't hesitate to send me comments or feedback on anything I write.