Better Session Restore Behavior

The “Downloads” window won’t destroy your session anymore.

Posted: August 06, 2009 Tagged: mozilla, sessionstore, and opensource 3 Comments

Last week bug 354894 landed to, surprisingly, little fanfare. It’s a big deal though (more so on Windows & Linux).

Ever since Firefox introduced Session Restore, there has been one particularly annoying problem: if you close your last browser window but accidentally left a non-browser window open (eg. Downloads), then your session was fucked. End of story.

Well, no longer. Nils Maier (co-author of DownThemAll) finally got fed up with this problem & decided to do something about it. This is the first “major” piece of code he’s contributed, so a round of applause.

A super quick summary of the changes (assuming you have enabled session restore):

  • If you leave a non-browser window open, just close it. Your session will be saved (assuming you aren’t on OS X anyway).
  • If you’ve gotten down to that last non-browser window & realized your mistake, opening Firefox again (e.g. from the start menu) reopens your last closed window.

As a tangential comment, it’s things like this that really make me proud to be a part of the Mozilla community. So much of our browser & platform comes from people like Nils who give their time freely to help make the web a better place.

Update: Minor changes based on email with Nils.

Comments

  1. August 07, 2009

    This is excellent news. As someone who’s lost sessions before from inexpertly accidentally closing windows, I can say I am glad to hear about this improvement.

    I’m also a huge fan of DownThemAll, so props all around to Nils Maier!

  2. August 09, 2009

    Very nice bug fix! That one has caught me many times.

  3. August 09, 2009

    “session was fucked. End of story.” hahahahaha yay fixed

© Copyright 2004–2010 Paul O’Shannessy Powered by Blarg & hosted on Dreamhost