Closed Bug 665856 Opened 13 years ago Closed 13 years ago

I lost all 15 windows except 1

Categories

(Firefox :: Session Restore, defect)

4.0 Branch
x86
macOS
defect
Not set
major

Tracking

()

VERIFIED INCOMPLETE

People

(Reporter: uysiuseng, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

I had 14-15 windows in April-May. I haven't used Firefox in a while except for the occasional e-mail checking. When I opened Firefox today, I noticed that only 1 window was restored, the one with my e-mail tab along with other tabs in this particular window. The rest of the windows were not restored.

FYI, my preferences have always been set to "Show my windows and tabs from last time".

When I checked the Firefox Profile folder, I found sessionstore-1.js to sessionstore-7.js. They date from 12 Oct 2007 to 29 Jan 2010. All with 0 KB.

sessionstore.js (360KB) and sessionstore.bak (516KB), on the other hand are both dated today.

I never received a prompt or window asking me if I wanted to restore all 15 windows.  I didn't expect a prompt since FF usually automatically restores all windows from my last session.  This time it didn't.

Is there a way to recover all 15 windows from my last session?

Reproducible: Didn't try




browser.sessionhistory.max_entries;50
browser.sessionhistory.max_total_viewers;-1
browser.sessionhistory.optimize_eviction;false
browser.sessionstore.interval;15000
browser.sessionstore.max_concurrent_tabs;3
browser.sessionstore.max_resumed_crashes;1
browser.sessionstore.max_tabs_undo;10
browser.sessionstore.max_windows_undo;3
browser.sessionstore.postdata;0
browser.sessionstore.privacy_level;0
browser.sessionstore.privacy_level_deferred;1
browser.sessionstore.resume_from_crash;true
browser.sessionstore.resume_session_once;false
Version: unspecified → 4.0 Branch
Have you tried Menu > History > Recently Closed Windows > Restore All Windows?

Did it work?
Alternatively, you should be able to restore a session via about:home (there's a big button on the bottom of the page).
Thanks for your responses, fellas.

@ Vlad: Yes, I've tried that, but the 14 windows that were lost are not listed under "Recently Close Windows".

@ Anthony Hughes: "about:home" doesn't work. It simply shows a FF logo with a Google search bar underneath it. No big button at the bottom of the page. I think what you mean is "about:sessionrestore" where it shows the "Well, this is embarassing" remark and 2 buttons at the bottom: "Start New Session" and "Restore". However, this doesn't work for me either because it lists only the tabs of Window 1, the one that I have now, but not the other 14 windows.
Is History > Restore Previous Session enabled?
Nope. I'm afraid it's disabled.
In the preferences dialog under the General tab, what is your Startup preference set to?
Ever since this feature was made available, I've always had it set to "Show my windows and tabs from last time".
Can you provide a list of any add-ons (and versions) you have installed?
(In reply to comment #0)
> Is there a way to recover all 15 windows from my last session?

The short answer here is probably not. But what you can try is this (assuming you haven't restarted Firefox since the windows went missing):
1. Quit Firefox
2. Make a copy of sessionstore.js and sessionstore.bak
3. Rename sessionstore.bak to sessionstore.js
4. Start Firefox

This will attempt to restore Firefox from the backed up session, which may or may not have your windows (a file difference of 150K doesn't sound promising for 14 windows). It's possible that they didn't get saved properly. If this doesn't work, you can quit, put your copy of sessionstore.js back in place and resume your current session.

Alternatively, if you feel like parsing JSON, you can read sessionstore.bak to see if it has more than 1 window. If you're not up for it but don't mind emailing me the file, I may be able to help pretty quickly (either at the address shown here, or oshannessy@mozilla.com).
@ Anthony: The only Extensions I have installed are 1-ClickWeather 1.1.9.1 and DownloadHelper 4.9.1. I have a couple of FF themes and plug-ins for apps.

@ Paul: Unfortunately, I've already opened FF to check e-mails. This is how I found out that the other windows were missing. Nonetheless, I'll try your suggestion. Thanks.
Juan, anything new to add about this issue?
I'm afraid that I have nothing else to add. I've tried all the aforementioned suggestions and I still can't recover the lost windows.
(In reply to comment #12)
> I'm afraid that I have nothing else to add. I've tried all the
> aforementioned suggestions and I still can't recover the lost windows.

I don't think it's possible to recover a session once it's been overwritten. The purpose of this bug, at least from Mozilla's standpoint, is not to help you recover your old session but to identify why this happened and prevent this from happening again for all of our users. Is there any data you can provide in that context?
All the data and details about this incident, as far as I know of, are contained in my first comment dated June 21st as well as in my responses to the comments above. I don't know or have any other data to add. Thank you, everyone for all your suggestions.
Considering comment13, setting resolution to Resolved Incomplete.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Verified INCOMPLETE -- please reopen when you can provide some data.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.