[Ext] SessionSaver .2d: new (rewrite)

Announce and Discuss the Latest Theme and Extension Releases.
Locked
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

d1 nightly 6 is posted: <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver-02-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver.jar">jar-file</a>.
    closing the last browser always re-captures its session
User avatar
frease
Posts: 3981
Joined: September 16th, 2003, 1:17 pm

Post by frease »

Hi, rue, remember earlier I posted on a bug that the new session saver fails to restore session randomly? Then someone asked me to check if FB is still running in the background. Today it happened again with the session saver installed. And FB is not running in the background. Right now, I have switched back to Pike's Session saver and it's not happening anymore. Hence, I think it could be some problems with the extension itself? Or maybe a conflict with the build I am using?
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

frease:
Next time it happens, if you could note: JavaScript Console errors; how you quit last time (alt-f4/[X]/file>exit/etc.); and what urls you were expecting in those tabs.
.
Are you running any other extensions, btw?
User avatar
frease
Posts: 3981
Joined: September 16th, 2003, 1:17 pm

Post by frease »

Sure, I'll note those errors next time. I always quit using the [X] and I expecting Neowin.net, Firebird forums, Yahoo Mail, BBC news in those tabs. I have installed Minit, Bookmark backup, PrefButtons, Copy image, Themer and Chromedit.
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

Forgot to ask- did it open the correct number of tabs?
User avatar
frease
Posts: 3981
Joined: September 16th, 2003, 1:17 pm

Post by frease »

Yes when it works fine but no when the error happens. No tabs are opened at all. It is just a blank page. And when I select restore session, no tabs are restored (in my previous post few days back, 2 empty tabs are opened instead).
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

d1 nightly 7 is posted: <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver-02-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver.jar">jar-file</a>.
    remembers window z-ordering
    further patching to retain last browser
The Z-order capture isn't quite where I'd intended: trapping a browser-window's onfocus catches too many minor events. Instead, the ordering is updated whenever SessionSaver updates the pref-file: tabload/close, window-close, shutdown.
User avatar
Moonwolf
Posts: 531
Joined: December 7th, 2003, 2:50 pm
Location: Hertfordshire, England
Contact:

Post by Moonwolf »

While migrating my settings to a new profile, I found a problem.
If browser.startup.page is set to 0, I get an extra blank tab on startup (using nightly 7).
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Thunderbird 1.0 (20041206)
EMbuttons: Buttons & options for the Extension Manager. Easy Get Mail Button is here too.
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

nightly 7 pass2 is posted: <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver-02-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver.jar">jar-file</a>.
    copes with all startup-modes: blank, homepage(s), and last-visited
thedeadparrot03
Posts: 26
Joined: December 18th, 2003, 8:00 pm

Post by thedeadparrot03 »

I have the same problem frease does. The extension only works occasionally. Otherwise, it simply brings up the homepage.

It might be a conflict with another extension. The ones I use are:

ChromeEdit
Nuke Anything
Deepest Sender
Copy Image
Smoothwheel

I hope you can get it fixed. :)
User avatar
Moonwolf
Posts: 531
Joined: December 7th, 2003, 2:50 pm
Location: Hertfordshire, England
Contact:

Post by Moonwolf »

The extra tab is gone, thanks :)
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Thunderbird 1.0 (20041206)
EMbuttons: Buttons & options for the Extension Manager. Easy Get Mail Button is here too.
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

deadparrot:
As indicated to frease, I need <a href="http://forums.mozillazine.org/viewtopic.php?t=47184&postdays=0&postorder=asc&start=75#351683">more details</a>. Also, what platform/build are you running?
.
Mac-apps don't quit when their last window closes -- so I can't really test how this scenario runs. I've set traps to catch shutdown as expected under windows; but nothing's certain. Additionally, frease only had this occassionally -- meaning you probably have a different bug.
Old miahz
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old miahz »

my "homepage" is set to 2 pages that open up in tabs. on the last restore after a crash, it loaded the 2 hometabs, then "replaced" them with the tabs saved before crash (3 tabs). except the 2nd hometab was pushed to the end of the list and showed up as a 4th tab. never noticed it doing that when i tested it before. just checked back here and read this:
rue wrote:nightly 7 pass2 is posted:
    copes with all startup-modes: blank, homepage(s), and last-visited

does that cover/fix the above situation?
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

d1 nightly 8 is posted: <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver-02-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/sessionsaver/sessionsaver.jar">jar-file</a>.
    proper suppression of multiple homepages
    even further patching to retain last browser
miahz:
The format for passing url's to new windows (newline-separated string tokens) looks delicate, at best -- SS has to parse it to trap the homepages on startup. Since I expect future versions of Firebird will break this, just drop a line if it stops/isn't working.
.
deadparrot:
I've added further patching to address your problem. Among other things, window-closures now have a 3sec timeout before their session is removed. If you're closing the last browser, this is more than enough time for everything to close out (timeout: unfinished -- session: retained). Side-perk: closing all windows manually, but within 3sec's, saves them all.
noborders
Posts: 37
Joined: September 22nd, 2003, 1:47 am

Post by noborders »

Hi. I've been using both d1 nightly 6 and now d1 nightly 8 on Firebird 0.7.1 on Mac OS X. SessionSaver is working out for me quite well but I just wanted to report that most of the time, when I start the browser, it only shows one page (the last active tab). But as soon as I add a new tab, the browser expands all of the other tabs that were there before.

So it kinda does what it's supposed to do but I have to open a new tab to see all the tabs that were open when I last quit.
Locked