kesselborn / conex

Firefox extension
Mozilla Public License 2.0
174 stars 16 forks source link

Conex lose context of tabs on Firefox restart #242

Closed psychoslave closed 6 years ago

psychoslave commented 6 years ago

On Fedora 28, it's finally possible to use Conex with the out of the box provided Firefox.

So after some tests, I'm very happy with it, it finally provides some lake that happened after the Quantum release which was not compatible with tabgroup. Thank you to all Conex contributors. It even come with extra benefit, like context isolation and the wonderful ctrl+ menu, ability to show all tabs or only those of the current context… all that is great!

Now the only annoying caveat I went trough is that, when for some reason restart Firefox or my whole system, the tabs get restored in a single context. Usually the default context but oddly sometime in an other one, maybe it depends to which context is linked the first tab opened. Anyway, that greatly reduce the greatness of this extension, since it make it unreliable at keeping these groupings across sessions.

All the more, having a lot of tabs opened, they all get loaded at start. Personally, I do use the "show only this context tabs" feature, and I would like that only tabs of the current context would be loaded at startup, using the same context which was used when Firefox was closed.

Hope that all that make sense with the goals of Conex, cheers.

kesselborn commented 6 years ago

hey: sorry for the very late reply: I was kind of off the grid for a while :/

Conex is actually not involved in the session restore - that is a Firefox feature and therefore a Firefox bug that I can't fix :(

Weirdly enough, I never saw this behavior.

I hope you understand, that I'll have to close this issue

nekohayo commented 5 years ago

Hi @kesselborn, I've begun evaluating Conex for my use as a replacement for TabGroups / migration path towards Firefox Quantum, as your extension seems to be the only sane/viable approach around (in other words, "Help me Obi Wan Kesselborn, you're our only hope!"), and... I'm encountering the same issue as @psychoslave on a Fedora 29. This is a 64-bits (x64_64) standard build of version 64.0.4, provided by the Fedora Linux distro packagers (aka: official repositories). I'm hoping that having at least two of us here reporting the issue means it might be something Linux-specific or that we can all troubleshoot together, if you don't mind reopening this ticket?

My test bench / reproduction steps:

  1. I've started with a clean Firefox 64.0, then after installing uBlock, I installed the multi-container groups add-on, then Conex, to see the difference between the two.
  2. Then I created a couple of groups and created some test tabs in there (opening amazon, news sites, etc.).
  3. Then I switched back to the "Default" tab group (or Personal, or whatever other group) and then I hit ctrl+Q (or the window manager's "X" button) to quit the browser, which warned me (with a confirmation dialog) that I was about to close X number of tabs, which is normal/expected.
  4. Launched Firefox again, and everytime Firefox starts it goes back to the "Default" tab container/group, and all the other groups are empty, so you've lost your tabs.

Note that I then disabled Mozilla's "multi-account containers" add-on and leave only Conex active to see if there was a conflict, and it didn't make a difference.

My Conex preferences: everything by default, except the 1st, 2nd and last options: "only showing tabs in the current container", "enable moving tabs between containers", and "ask in which container to open external links"

I'm quite sure we could work through this together to see where the problem lies, rather than declaring this "unfixable"... even if we have to set up some crazy remote desktop or collaborative debugging session together! If I can prove to myself that Conex might be at last the little-known but long-awaited solution for power users like me to replace QuickSaver's infamous "Tab-Groups" extension, I'd be happy to sing the praises of this everywhere around me, including planet GNOME where you'd get quite a lot of eyeballs.

nekohayo commented 5 years ago

For the record for anyone reading this: turns out that, as I was running a brand new Firefox profile for the sake of testing, I had not thought of the fact that by default Firefox is globally not set to restore tabs on startup. You do that in the global Firefox preferences. After turning that feature on, tab restore worked with Conex.