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

Announce and Discuss the Latest Theme and Extension Releases.
Locked
noborders
Posts: 37
Joined: September 22nd, 2003, 1:47 am

Post by noborders »

I should add that my girlfriend has almost the exact setup (Firebird 0.7.1 OS X) with same extensions and she is not having that problem at all. The only major difference between my setup and hers is that I have TBE installed (an older version that I'm keeping around, since the newer version, even with a patch, breaks my browser) and now that I think about it, it kinda makes sense that TBE might be the culprit.
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

noborders:
Ah- I was about to ask you into a round of testing, but no need now. Clearly, TBE is suppressing the initial window onload.
.
Problem solved: <a href="http://forums.mozillazine.org/viewtopic.php?t=47192">ditch TBE</a> :P
thedeadparrot03
Posts: 26
Joined: December 18th, 2003, 8:00 pm

Post by thedeadparrot03 »

rue: I'm running Mozilla 1.6 on Windows XP. It seems that the delay is what was causing the problem. I wasn't waiting long enough to restart. Thanks for all the hard work on this extension. :)
noborders
Posts: 37
Joined: September 22nd, 2003, 1:47 am

Post by noborders »

rue wrote:noborders:
Problem solved: <a href="http://forums.mozillazine.org/viewtopic.php?t=47192">ditch TBE</a> :P


Yeah. I think I can live with having to open a new tab everytime. I cannot live without the "close tab" button on each tab (therefore I need TBE). The new versions of TBE breaks OS X Firebird browsers, let alone allow "close tab" buttons. For the same reason, I won't be upgrading to 0.8 because it's not compatible with the version of TBE I have.
noborders
Posts: 37
Joined: September 22nd, 2003, 1:47 am

Post by noborders »

Wait. I checked out that link you gave, rue, which I've checked out before, but I saw something I must have missed last time. Does the following code for adding "close tab" button on each tab?

userChrome.css :

Code: Select all

#content .tabs-closebutton {
  display: none !important;
}


If so, I'll be ditching TBE in a heartbeat.
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

noborders:
No, that was cdn responding (ambiguously) to one of TychoQuad's requests:
"remove the close button from the tabbar without removing it from the sidebar."
.
A tab-close button shouldn't be difficult to roll, though.
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

deadparrot:
Hey- if you could run some timed-tests and determine how quick the restart needs to be before SessionSaver skips, that should help other users.
.
I think the need for delay is because the browser writes a number of files to disk one last time, after all windows (including the hidden one) have closed. If you "restart" during that window, you might be either reconnecting to the existing session, or overlapping the writing of the pref-file.
TychoQuad
Posts: 1263
Joined: December 11th, 2002, 12:30 am
Location: Australia

Post by TychoQuad »

rue wrote:noborders:
No, that was cdn responding (ambiguously) to one of TychoQuad's requests:
"remove the close button from the tabbar without removing it from the sidebar."
.
A tab-close button shouldn't be difficult to roll, though.


Serves me right for not trying... Sorry cdn, it seems the close button is STILL in the sidebar. When did this change? I remember last time i tried this code, it was gone from there as well... Why didn't I get a memo? :)
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

d1 nightly 9 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>.
    optimizations for speed; non-critical update.
Xanager
Posts: 23
Joined: January 23rd, 2004, 4:38 pm

Post by Xanager »

Hmm, I'm running into the a similar problem to what we had earlier rue. If I close using the [X] it will just bring up a blank tab instead of saving the session. There were a few builds in a row that worked, but the past two or three have been giving me this problem. File/Exit still works fine.
noborders
Posts: 37
Joined: September 22nd, 2003, 1:47 am

Post by noborders »

rue wrote:A tab-close button shouldn't be difficult to roll, though.


That would be sweet. I would very much appreciate this and I expect that it would benefit many others as well.
rue
Posts: 673
Joined: June 10th, 2003, 2:20 pm

Post by rue »

nightly 9 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>.
    rolled-back code which broke under WinXP FB for Xanager.
I'm not sure if it's his <a href="http://forums.mozillazine.org/viewtopic.php?t=47184&postdays=0&postorder=asc&start=0#342498">extension-setup</a>, or just his platform, but something about window.onunload conflicted with proper shutdown. So, I've backed-out the additions for frease and deadparrot. If SS starts failing randomly again, I'll post some test-builds for those interested -- to see what can and can't be changed.
Org
Posts: 3
Joined: February 3rd, 2004, 1:25 pm

Post by Org »

I had a strange experience with SessionSaver 0.2d. It's a bit difficult to explain clearly. I hope I can make anyone understand my poor explanation.

Some of my bookmarks are for sites that don't use site icons (favicon). My browser start homepage is a page that does use a favicon.

I closed Firebird with two non-favicon pages open. When I restarted the browser, SessionSaver restored the windows and tabs, just as it should. The strange thing was that one of the restored bookmarks inherited the site icon of my homepage. I thought it was weird and tested the same setup again. On the second try the site icon of my homepage was added to the bookmark of the other restored page.

I wonder if this was just some freak occurance, or if there is a problem in SessionSaver regarding the site icons?

I'm using Firebird 0.7 in WinXP.
thedeadparrot03
Posts: 26
Joined: December 18th, 2003, 8:00 pm

Post by thedeadparrot03 »

The new version still seems to be working, though it might stop after a bit. We'll see. :)
IGAU
Posts: 831
Joined: November 18th, 2003, 2:25 pm

Post by IGAU »

Is there any chances that you can bring back the menu items (in some form) that allow people to save and restore at will?

With the old version, I didn't enable automatic session restoring, but did enable saving on exit... if I needed to restart Firebird, I could force it to reload the session at the next startup, by clicking File > Restore Session... but if I voluntarily close the window, I dont really want the session to come back when I start up automatically.
Locked