Open Bug 1380613 Opened 4 years ago Updated 2 years ago

sessionrestore will not restore anything if another tab is open


(SeaMonkey :: Session Restore, defect)

SeaMonkey 2.46 Branch
Not set


(seamonkey2.49esr wontfix, seamonkey2.53 affected, seamonkey2.57esr affected, seamonkey2.63 wontfix)

Tracking Status
seamonkey2.49esr --- wontfix
seamonkey2.53 --- affected
seamonkey2.57esr --- affected
seamonkey2.63 --- wontfix


(Reporter: imc, Assigned: iann_bugzilla, NeedInfo)


(Blocks 1 open bug)


* Start a new SeaMonkey browser session
* Open a few tabs at various web sites
* Kill the browser with an unexpected signal
* Restart the browser
  - the "Restore Session" tab comes up
* Open another tab
* Return to the sessionrestore tab and press "Restore Previous Session"

Actual results:
- Another SeaMonkey window appears, but this window remains blank.
- The "Restore Previous Session" button is greyed out and cannot be
  pressed again, but the sessionrestore tab remains open.
- The following messages are logged in the Error Console:

Error: uncaught exception: 2147942487
Source File: chrome://communicator/content/aboutSessionRestore.js
Line: 116
Error: NS_ERROR_ILLEGAL_VALUE: Illegal value'Illegal value' when calling method: [nsISessionStore::setWindowState]
Source File: chrome://communicator/content/aboutSessionRestore.js
Line: 116
Error: TypeError: browser[name] is undefined
Source File: resource://devtools/client/framework/gDevTools.jsm
Line: 160
Error: TypeError: menu is null
Source File: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/browser-menus.js
Line: 341

Expected results:
 - Session should actually be restored in some way.

 - It turns out that if you close the new window and the extra tab,
   then reload the sessionrestore window, the "Restore Previous Session"
   button works again.

Testing environment:
Linux Fedora 26 x86_64, fvwm 1.24r window manager, seamonkey-2.46-3.fc26.x86_64

Same in 2.49.5 Linux i686. When did this last work properly?

Confirmed. Current sessionstore code need a shot in the back and a redo. Lets see if we can fix it for 2.57.

Ever confirmed: true

Should be a quick fix for 2.53.1 and up.

Bug 1009599 needs to be ported.

Assignee: nobody → iann_bugzilla
Flags: needinfo?(frgrahl)
You need to log in before you can comment on or make changes to this bug.