stoically / temporary-containers

Firefox Add-on that lets you open automatically managed disposable containers
https://addons.mozilla.org/firefox/addon/temporary-containers/
MIT License
852 stars 60 forks source link

Containers just disappear #553

Open Sinewyk opened 2 years ago

Sinewyk commented 2 years ago

Actual behavior

On two different computers (weirdly after a windows update I seem to remember) if I launch Firefox, all my containers are just not there anymore, even though i'm using the "Open previous windows and tabs" startup firefox option. All my tabs were remembered as per the firefox startup option, but they temporary container is gone, i'm in the default "no container" container.

Expected behavior

My temporary containers and their related tabs are still there.

Notes

As mentioned, I am using the firefox option to "Open previous windows and tabs", and i am using the default "delete unused temporary containers 15 minutes after last tab in it closes". It works perfect 99% of the time. Except when it doesn't 🤷‍♂️.

I also use tree style tabs. All my tree like structure is still there ... just all the temporary container related data is just not there (deleted ?).

No idea how to reproduce.

I'm mostly putting this here for visibility for other people to pitch in because no idea how to debug this, it was mostly on my laptop that the bug happened, I just decided to drastically reduce my usage of firefox on it to not lose my mind by losing all my containers, and today for the first time it also happened on my work computer ... just after a windows update late yesterday night.

Kreijstal commented 2 years ago

well containers are temporary, after all. If you want something more permanent use user profiles?

Sinewyk commented 2 years ago

You are off-topic.

I updated my first message, could you please delete yours to not derail the conversation ? I'm using the firefox startup option "Open previous windows and tabs", and because i did not delete my tabs, their container should obviously not be deleted as per the "delete unused temporary containers only after last tab in it closes" rule of the addon.

Kreijstal commented 2 years ago

I see, you're right this was a mistake of me, the tabs are remembered but not the fact that they were in a container?

Sinewyk commented 2 years ago

Exactly.

stoically commented 2 years ago

Probably a Firefox bug, but without steps to reproduce it's hard to say.

twelho commented 2 years ago

I've been seeing this as well, across multiple Firefox/LibreWolf installations and for many years at this point. Using the "Open previous windows and tabs" option it seems that some containers are just gone after the browser is restarted. My theory is that FF unloads unused tabs, and when you restart the browser the unloaded tabs are not "present" at which point Temporary Containers decides to delete their containers if 15 minutes (or whatever you have set the timeout to) has passed between closing and re-opening the browser. The result is that the unloaded tabs are still there but uncontainerized, and when you click on one a new containerized tab is immediately opened next to it and switched to (I have Automatic Mode enabled) while the uncontainerized one is just left there. Can you try to reproduce with this info?