<< SeaMonkey Composer Development Coming Back! | The roads I take... | Weekly Status Report, W07/2009 >>

Restore SeaMonkey Sessions!

A few months ago - actually somewhat more than half a year - we had a guy called "Misak" join the #seamonkey channel, asking if SeaMonkey would have a session restore feature that would bring back your tabs after a crash or restart of the suite. We didn't have that implemented, back in typical open source manner told him we'd be happy if someone (he?) would port the code that already does that from Firefox to SeaMonkey, as it should be fairly compatible. His rely was that it's been quite some time that he did programming work and he was unfamiliar with Mozilla code, but he'd be willing to try doing that work.

On May 4th, 2008, Misak Khachatryan had made the first step and attached a first patch to the 5-digit bug that had been open for that suite feature for 8 years before that already. It took a number of additional iterations, integration with SeaMonkey's different restore-closed-tab implementation, almost 100 more bug comments, long waits for reviews from busy-with-real-life community members (sorry!), another bug for porting more work on top of that (the Firefox code is somewhat of a moving target as well) and all in all about 7 months - but:
SeaMonkey session restore has landed a few hours ago!

There are still a number of followup issues to fix, like a test leak caused by this landing, ported tests for the feature itself, fixups/improvements to the ported code, and original SeaMonkey twists like restoring more than just browser windows and tabs, all of which can be worked out by Misak and anyone else who wants to help us there, step by step. Still, it looks like SeaMonkey 2 Alpha 3 and later will ship with this new feature - and everyone can profit from one guy "scratching his itch", so to speak.

Thanks to Misak for doing this work - and to everyone who also is not familiar with our code yet but knows something (s)he'd like to see fixed: Take this guy as a model and try to make what you'd like a reality - we're surely happy to help you get on your way and get your code into our tree!

Entry written by KaiRo and posted on February 14th, 2009 02:51 | Tags: Mozilla, SeaMonkey, SeaMonkey 2 | 10 comments

TrackBack/Pingback

  • Home of KaiRo: Weekly Status Report, W07/2009 (Pingback)
  • Comments

    AuthorEntry

    Tony Mechelynck

    from Brussels, Belgium

    quote
    Thanks Misak!
    Ah yes, I see a new startup option, "Restart previous session", in the latest hourly build: thanks Misak!

    I haven't yet tried it, but I'm not too much worried: in case it did not work for any reason, there is also the following workaround:
    - Set the startup option to "Home page"
    - Just before closing, open the Preferences and set your homepage to "Use Current Group" (if that's greyed-out, it means it's already set to it).
    2009-02-14 05:55

    Vladimir

    from NN

    quote
    Спасибо, Misak! :)
    Спасибо, Misak! :)
    2009-02-14 09:33

    KaiRo

    Webmaster

    quote
    Tony, sure, that will make you open the same set of tabs in one window, but session restore even restores multiple windows, and it also restores stuff after crashes.
    2009-02-14 17:30

    Keith

    quote
    That's cool. Currently I'm using an extension in 1.1.14, but the web site seems like they're not going to port it to 2 (linking to the relevant bugs in case you want to implement it yourself). Now, if only livehttpheaders and flashblock worked (or at least they didn't the last time I tried).
    2009-02-14 18:33

    Philip Chee

    from SolIII

    quote
    Flashblock and LiveHTTPHeaders on SeaMonkey.
    Keith, I am the current project owner of Flashblock and Flashblock has been working on Mozilla Suite 1.7 and SeaMonkey 1.0 to 2.0a3pre without problems. Please make sure you install from:

    http://flashblock.mozdev.org/installation2.html

    As for LiveHTTPHeaders, I maintain a SeaMonkey compatible version here:

    http://xsidebar.mozdev.org/modified.html#livehttpheaders

    Phil
    2009-02-14 18:55

    »Q«

    from New Orleans

    quote
    Thanks, Misak!
    I'm a Firefox user who wants to see a happy, healthy SeaMonkey project. Implementing session restore is a big deal; thanks for getting involved and doing the work!
    2009-02-15 00:59

    Tony Mechelynck

    from Brussels, Belgium

    quote
    I only ever have one window (with maybe 40 or so tabs) anyway. But I tested it while upgrading to the next nightly (2009-02-14). Worked like a charm (not that I ever seriously thought it wouldn't). Once again Misak: thanks, merci, dankon, dank U, Danke, tak, gracias, grazie, спасибо, dziękuie, köszönöm, ευχαριστω, شكرًا etcetera ad nauseam (well, not really nauseam I hope). :-)
    2009-02-15 06:23

    Tony Mechelynck

    from Brussels, Belgium

    quote
    LiveHttpHeaders
    The version at AMO, https://addons.mozilla.org/en-US/seamonkey/addon/3829 boasts compatibility with SeaMonkey 1.0 to 2.0a1pre. I think that's the one I'm using with no problems in current trunk builds, but since it's not "officially" compatible, some hack-work is necessary to make it work in Sm 2.0a3pre; the easiest (but least secure) of those "hacks" consists of creating the about:config setting extensions.checkCompatibility with type Boolean and value false.
    2009-02-15 07:07

    tqft

    quote
    Tested and big thanks
    Was not going to rebuild this morning but saw this on planet mozilla.

    Rebuilt.

    Opened a few pages. Shut Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090216 SeaMonkey/2.0a3pre ID:20090216123246 selected Close All Tabs.

    Reopened seamonkey.

    All tabs automatically re-opened.

    Have been waiting for this for ages.

    Big thanks to all.
    2009-02-16 04:29

    Morac

    from U.S.

    quote
    Session Manager in SeaMonkey 2.0
    The next version of Session Manager will support SeaMonkey 2.0a3pre. In the meantime, a development version that supports it is available at http://downloads.mozdev.org/sessionmanager/session_manager_dev.xpi
    2009-02-19 06:21

    Add comment