tim-we / tabs-aside

A session/tab manager web extension for Firefox based on the Microsoft Edge feature.
https://addons.mozilla.org/firefox/addon/tabs-aside/
GNU General Public License v3.0
88 stars 10 forks source link

Support for temporary containers #103

Open devkabiir opened 3 years ago

devkabiir commented 3 years ago

Setting a tab aside that was using a temporary container fails to restore it later. The extension causing this issue is this https://github.com/stoically/temporary-containers.

The reason for this is that when restoring the tab, you're trying to restore it in it's original container, but by that time it might not exist. So perhaps a setting can be added to skip restoring tabs with a specific container id/name for instance if the container name starts with tmp and restore them to the default container i.e. firefox-default.

Another issue caused by this is that, when the tab fails to restore, there is a "open in default container" option, upon clicking which the tab does restore in default container but Tabs Aside looses it somehow and now my session doesn't have that tab. So clicking on "Set aside" will leave out that tab and I will have to manually add that tab to the session again. This is very annoying when most tabs use temporary containers.

I believe you're tracking restored tabs by their tab.url + cookieStoreId + tabId or some combination of these.

tim-we commented 3 years ago

Thanks for that detailed bug report :)

Tabs Aside tracks tabs using their tabId. But using default settings it should also automatically add new tabs in a window of a restored session to that session. I'll look into it.