stoically / temporary-containers

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

Re-opening a closted containers will still be deleted after timer runs out even if they are still being used. #611

Open nabeelr opened 1 year ago

nabeelr commented 1 year ago

If you close a tab open in a temporary container, then re-open it before the container gets deleted, when the timer runs out the tab/window you've re-opened gets closed when the tab gets deleted.

The tab should not (and used to not) get deleted/closed if the window/tab/container gets re-opened or reused.

Actual behavior

Re-opening a tab/window in a recently closed temporary container before it's deleted, will still get deleted and all the tabs/windows that are still currently being used will get closed and deleted.

Expected behavior

Temporary containers should only get deleted after all tabs and windows get closed and stay closed. If a temporary container gets used again before it gets deleted, it shouldn't get deleted.

Steps to reproduce

  1. Open tab/window in a temporary container and navigate to a page.
  2. Close that tab or window.
  3. Use the history menu to re-open the recently closed tab/window that was in that temporary container.
  4. Wait for "Delete no longer needed Temporary Containers" timer to run out, and watch your windows/tabs close in front of you.

Notes

None