I have the "Always show the tab bar" option set to false, which is the
default (browser.tabs.autoHide=true).
I really like the way Firefox restores my previous session. Often I
will need to restart Firefox or restart my computer, so I'll quit
Firefox using File->Exit, and this feature allows me to pick up where
I left off.
Where it doesn't work for me is when I've done browsing. I want to be
able to close each tab with File->Close Tab (Ctrl+W) and have it never
appear again unless I choose it to. With session restoration enabled,
if I've closed all the other tabs and only have one tab open, then I
close that tab with Ctrl+W, I am shown that page again when I start
Firefox. In that situation, I pressed Ctrl+W to indicate that I was
done with that page and wanted to close it, rather than I wanted to
quit Firefox (which was just the necessary side-effect), so I should
show be taken to my home page.
Make sense?
Makes sense to me. Seems like the problem is that we're failing to call
sessionstore to update the stored session info to take the tab closure
into account after the tab gets closed but before the application quits.
In other words, we're doing this:
user says "close last tab"
tab closes
browser quits
When we should be doing this:
user says "close last tab"
tab closes
sessionstore updates stored session info
browser quits
But 343876 seems like a different bug. In that situation, closing the
last tab does not quit the browser or even close the tab, it just loads
about:blank in the tab. So sessionstore *does* update the stored
session info, and if the user then quits and restarts they see a blank
tab (i.e. their previous session).
In that case session restore is actually working as designed, but the
bug reporter thinks it would be more useful for Firefox to display the
user's home page instead of the "empty" previous session. So I think
you should file a new bug report about the problem you are experiencing.
-myk