Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the plan for session manager? #49

Open
117649 opened this issue Jul 7, 2021 · 22 comments
Open

What's the plan for session manager? #49

117649 opened this issue Jul 7, 2021 · 22 comments

Comments

@117649
Copy link
Contributor

117649 commented Jul 7, 2021

Anyway it should be able to import old sessions file.

@onemen
Copy link
Owner

onemen commented Jul 7, 2021

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)

@117649
Copy link
Contributor Author

117649 commented Jul 7, 2021

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
Copy link
Contributor Author

117649 commented Sep 21, 2021

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
Copy link
Contributor Author

117649 commented Sep 22, 2021

@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?

@onemen
Copy link
Owner

onemen commented Sep 22, 2021

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

@117649
Copy link
Contributor Author

117649 commented Sep 22, 2021

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
Copy link
Contributor Author

117649 commented Oct 13, 2021

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
Copy link
Contributor Author

117649 commented Dec 1, 2021

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.

@onemen
Copy link
Owner

onemen commented Dec 1, 2021

I am planing to work on Session manager starting January 2022

@117649
Copy link
Contributor Author

117649 commented Jan 26, 2022

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.
117649/Tab-Groups@4eefa88

@onemen
Copy link
Owner

onemen commented Jan 27, 2022

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

@mzso
Copy link

mzso commented Feb 4, 2022

@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.

@117649
Copy link
Contributor Author

117649 commented Feb 4, 2022

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.

@mzso
Copy link

mzso commented Feb 5, 2022

@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.

@117649
Copy link
Contributor Author

117649 commented Feb 5, 2022

@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.

@mzso
Copy link

mzso commented Feb 5, 2022

@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.

@MelchiorGaspar
Copy link

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...

@117649
Copy link
Contributor Author

117649 commented Aug 17, 2022

Are we still have any hope on this?

@onemen
Copy link
Owner

onemen commented Aug 17, 2022

Yes,

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

@117649
Copy link
Contributor Author

117649 commented Aug 17, 2022

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?

@onemen
Copy link
Owner

onemen commented Aug 17, 2022

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

@rebop
Copy link

rebop commented Sep 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants