TabMixPlus icon indicating copy to clipboard operation
TabMixPlus copied to clipboard

What's the plan for session manager?

Open 117649 opened this issue 3 years ago • 22 comments

Anyway it should be able to import old sessions file.

117649 avatar Jul 07 '21 02:07 117649

Anyway it should be able to import old sessions file.

If it will be possible to implement, then we can add it as a part of the extension, or as a web page to do one time convert

Maybe I will add session manager as separate extension, (maybe WebExtension)

onemen avatar Jul 07 '21 06:07 onemen

If it will be possible to implement,

I don't see a reason why it not possible. Tab Groups's session manager still working today with little to none tweak needed.

We may need to replace RDF logic in TMP or just use a third party library.

117649 avatar Jul 07 '21 08:07 117649

http://rdf.js.org/ https://www.w3.org/community/rdfjs/wiki/Comparison_of_RDFJS_libraries RDF javascript related things that may be useful. Just for the record.

117649 avatar Sep 21 '21 15:09 117649

@onemen I spend a little time on this again and did a little study. But it look like we can just replace "rdf-service" with RDFDataSource.jsm and keep everything working.

Don't know if you already have a plan for this?

117649 avatar Sep 22 '21 13:09 117649

Session manager need a complete refactor The base code for Tabmix Session Manager is more that 15 yeas old. I've developed it before Firefox have build-in SessionStore module.

Now we need to develop UI/UX that will work directly with Firefox's SessionStore mdule, without using RDF.

Currently there is Session manager WebExtension with 105,000 downloads.

The only justification to add Session Manager back to Tab Mix is if we can do it BETTER

onemen avatar Sep 22 '21 13:09 onemen

Session manager need a complete refactor The base code for Tabmix Session Manager is more that 15 yeas old. I've developed it before Firefox have build-in SessionStore module.

Now we need to develop UI/UX that will work directly with Firefox's SessionStore mdule, without using RDF.

Currently there is Session manager WebExtension with 105,000 downloads.

The only justification to add Session Manager back to Tab Mix is if we can do it BETTER

I've tried that, in fact all WE session manager seems work base on same principle: opens up a extension:// page then redirect it to the real address. As far as I can remember the result isn't very appealing. The history is not always correctly restore if it ever has and if the page fails to load you may end up with a empty extension:// that won't go any where, you can't just refresh it like a real page. And if you uninstall the WebExtension your session is pretty much gone with it since what left after is just a bunch of extension:// blank pages.

Honestly to say any thing you can put up together that is not WE is WAY MORE BETTER.

Personally I'm still hanging on WF classic but I've got Tab-group's session functions fixed to a degree that it now can import and restore session from pre-57 code base correctly on current Dev ed. However manually export and import is all it capable of, it lacks more powerful options such as timed back up and recovery from a corrupt session.

117649 avatar Sep 22 '21 14:09 117649

The key point here is we can save a snapshot of the tab element thus the tab is restored with all its html attributes. This way it can get alone with other legacy addons like TabGroup.

117649 avatar Oct 13 '21 17:10 117649

Session manager need a complete refactor The base code for Tabmix Session Manager is more that 15 yeas old. I've developed it before Firefox have build-in SessionStore module.

Now we need to develop UI/UX that will work directly with Firefox's SessionStore mdule, without using RDF.

Currently there is Session manager WebExtension with 105,000 downloads.

The only justification to add Session Manager back to Tab Mix is if we can do it BETTER

@onemen According to my recent experience with the build in session manager of the Firefox it would just be better to have a stand alone session manager function that is independent from the build in one since the build in one can get unresponsive and loss track of tabs.

The other thing is why don't let TMP's Session Manager button working with build in session manager? That is totally doable and it would be a great improvement for the usability of the session manager.

117649 avatar Dec 01 '21 15:12 117649

I am planing to work on Session manager starting January 2022

onemen avatar Dec 01 '21 15:12 onemen

I am planing to work on Session manager starting January 2022

@onemen I've recently successfully implemented restore session in current window and restore session in new tab on tabGroups using build-in session manager of the Firefox. Hoping this may be useful to you. https://github.com/117649/Tab-Groups/commit/4eefa881dc14dd3540ef01c75dc1d19aee28c3ec

117649 avatar Jan 26 '22 11:01 117649

I hope to push first draft of the new session manager i a week or two

onemen avatar Jan 27 '22 18:01 onemen

@117649 commented on 2021. szept. 22. 16:04 CEST:

Session manager need a complete refactor
The base code for Tabmix Session Manager is more that 15 yeas old.
I've developed it before Firefox have build-in SessionStore module.

Now we need to develop UI/UX that will work directly with Firefox's SessionStore mdule, without using RDF.

Currently there is Session manager WebExtension with 105,000 downloads.

The only justification to add Session Manager back to Tab Mix is if we can do it BETTER

I've tried that, in fact all WE session manager seems work base on same principle: opens up a extension:// page then redirect it to the real address. As far as I can remember the result isn't very appealing. The history is not always correctly restore if it ever has and if the page fails to load you may end up with a empty extension:// that won't go any where, you can't just refresh it like a real page.
And if you uninstall the WebExtension your session is pretty much gone with it since what left after is just a bunch of extension:// blank pages.

Honestly to say any thing you can put up together that is not WE is WAY MORE BETTER.

Loosing the tab back forward history can be really annoying. But it's even more annoying that it's impossible for them to restore favicons, so all tabs need to be loaded for that to happen. In my case its also an issue that both extensions that I know (Tab Session Manager, Session Boss) that support it fail to restore the tree structure for Tree Style Tab. The former fails more severely with tree structures disappearing, the latter only mixes up branches by the looks of it. I kind of moved past Tab Mix Plus' tab management functionality by using TST for the most part, so Session management is my main interest.

Personally I'm still hanging on WF classic but I've got Tab-group's session functions fixed to a degree that it now can import and restore session from pre-57 code base correctly on current Dev ed. However manually export and import is all it capable of, it lacks more powerful options such as timed back up and recovery from a corrupt session.

Is that still usable? I left it around a year ago, it became so slow and painful to use. And common websites like youtube were even worse when opened in the browser.

mzso avatar Feb 04 '22 15:02 mzso

Personally I'm still hanging on WF classic but I've got Tab-group's session functions fixed to a degree that it now can import and restore session from pre-57 code base correctly on current Dev ed. However manually export and import is all it capable of, it lacks more powerful options such as timed back up and recovery from a corrupt session.

Is that still usable? I left it around a year ago, it became so slow and painful to use. And common websites like youtube were even worse when opened in the browser.

You mean Waterfox classic? Yes. It is slow indeed but FF95- is even slower with the exactly same session at the time for me. I just move to FF96 recently as the performance is much reasonable. And I use tabGroups for session back up for now which in fact use the build in session manager of the Firefox. Its a shame what Mozilla had made available for their user. Only If you can write some js code you can just get yourself way more better experience.

117649 avatar Feb 04 '22 18:02 117649

@117649 How does session session saving work with tabgroups?

Only If you can write some js code you can just get yourself way more better experience.

It feels like it requires a lot more than that. Like a good understanding of FF's inner workings.

For me WF Classic got excruciatingly slow and unresponsive. Probably it would have been faster with no others. But then what's the point of sticking with it? So I moved to Devedition, after I found that some of the more useful addons were updated for it. Such as keyconfig, downthemall, Custom buttons, backtrack tab history.

mzso avatar Feb 05 '22 20:02 mzso

@117649 How does session session saving work with tabgroups?

Its been a very long time since it has that function. Because you'd want to restore tab groups with session thus it had a whole bunch of logic to write the tab group data into the firefox session file.

117649 avatar Feb 05 '22 21:02 117649

@117649 commented on 2022. febr. 5. 22:34 CET:

@117649 How does session session saving work with tabgroups?

Its been a very long time since it has that function.
Because you'd want to restore tab groups with session thus it had a whole bunch of logic to write the tab group data into the firefox session file.

Okay. Though I never used it, I only tried panorama for a while when it was still integrated into FF. I was just wondering how much it can do.

mzso avatar Feb 05 '22 22:02 mzso

I would like to see this feature back too.. as the built in one in Firefox is crap.. always on or off.. I like the one built into TabMixPlus, so I can have the popup option of saving or not saving when I exit Firefox with one or more tabs loaded...

MelchiorGaspar avatar May 31 '22 04:05 MelchiorGaspar

Are we still have any hope on this?

117649 avatar Aug 17 '22 05:08 117649

Yes,

But first I am working on BootstrapLoader installer to automate the installation (something like this)

onemen avatar Aug 17 '22 07:08 onemen

Yes,

But first I am working on BootstrapLoader installer to automate the installation (something like this)

How's the progress?
It claim to use same loader from xiaoxiaoflood only several version old. I guess a little update to the files would be just enough?

117649 avatar Aug 17 '22 08:08 117649

How's the progress? It claim to use same loader from xiaoxiaoflood only several version old. I guess a little update to the files would be just enough?

I've just started working on it this week , I'm going to use nw.js instead of python. currently I'm working on installer for windows, I will upload it to github for testing when it work

onemen avatar Aug 17 '22 10:08 onemen

I am SO looking forward to this. TSM just does not work like the (?) Matt Kelley that I used for years and years. No option to open a saved session or not on opening the browser. Saving sessions new or updated to finnicky. I am rooting for this.

rebop avatar Sep 01 '22 19:09 rebop