Closed Bug 1280069 Opened 8 years ago Closed 7 years ago

Restarting windows loses all the tabs

Categories

(Firefox :: Session Restore, defect)

defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: khuey, Unassigned)

Details

(Keywords: dataloss, regression, regressionwindow-wanted)

STR:

1. Start a Firefox session on windows 10, open some tabs.
2. Reboot the OS.
3. Once it comes back up, start Firefox.

The tabs are all gone, but cookies are still around ...
no Firefox version....
Hi Kyle, 

On what Firefox version do you see this? Can you elaborate a little bit the issue, please? What was your preference in about:preferences regarding Firefox startup (was "Show my windows and tabs from last time" selected)?

I tried to reproduce the issue and this is what I got:

1. When in about:preferences > Startup >"When Firefox starts" I had  "Show my windows and tabs from last time", the tabs were opened in the browser after restarting the OS (FF 47 and Nightly 50.0a1).

2. When in about:preferences > Startup > "When Firefox starts" I had "Show my homepage" the tabs didn't came up after restarting the OS (Firefox 47, nightly 50.0a1). I checked previous versions and Firefox 45.0.2 was the last release where the tabs were reopened after restarting the OS. Firefox 46, 46.0.1 and 47 did not restore the tabs.

I tried to narrow down a little bit by downloading Nightly builds but on Nightly the tabs were not restored in Nightly 45.0a1, 44.0a1, 43.0a1. Not sure why these builds didn't restore the tabs, as I expected to work on these versions. Maybe it's related to a config or preference that is only introduced in release and that's why Firefox 45 release works and Nightly 45 don't (just guessing, correct me if I'm wrong).
Flags: needinfo?(khuey)
Ok, I have "Show my home page" chosen. I created a new profile and that's also chosen. Why is this the default?
Flags: needinfo?(khuey)
Don't know why. 

Tim, do you have any thoughts on this or do you know someone who can help?
Flags: needinfo?(ttaubert)
It's always been the default, the UX team needs to decide to change that if they want.
Flags: needinfo?(ttaubert)
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #0)
> STR:
> 
> 1. Start a Firefox session on windows 10, open some tabs.
> 2. Reboot the OS.
> 3. Once it comes back up, start Firefox.
> 
> The tabs are all gone, but cookies are still around ...

Pretty sure this is working as designed - by default, I don't believe we clear cookies until they expire (unless the user chooses custom history settings inside about:preferences#privacy).

Or am I missing something here?
Flags: needinfo?(khuey)
Well, I thought gmail used session cookies, but maybe not.

Anyways, I've set the browser to restore my tabs now (again, why isn't that the default?) and I still lose tabs sometimes when I update or reboot.
Flags: needinfo?(khuey)
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #7)
> Well, I thought gmail used session cookies, but maybe not.
> 
> Anyways, I've set the browser to restore my tabs now (again, why isn't that
> the default?) and I still lose tabs sometimes when I update or reboot.

As for why we don't load the old session by default, I don't actually know. A quick trip down the blame shows that this has kinda always been the default. Maybe it's time for a change there (needinfo'ing shorlander in case there's more context).

I'm more concerned about your lost tabs. How frequently does this problem occur? Can you supply your about:support?
Flags: needinfo?(khuey)
Severity: normal → critical
Keywords: dataloss
It happens maybe once a month.  I haven't seen it since I switched from my Windows 10 laptop (that died) back to my old Windows 7 laptop though.  If I see it again on the new laptop I'm getting I'll post about:support.
Flags: needinfo?(khuey)
Bug isn't actionable as-is. Please reopen if anyone is still able to reproduce.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.