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

(Firefox) Two tabs open and then one tab closes almost instantly #537

Open
Jimmy-Q opened this issue Sep 23, 2021 · 15 comments
Open

(Firefox) Two tabs open and then one tab closes almost instantly #537

Jimmy-Q opened this issue Sep 23, 2021 · 15 comments

Comments

@Jimmy-Q
Copy link

Jimmy-Q commented Sep 23, 2021

When I open Firefox, two tabs open and then one tab closes almost instantly (leaving me with one tab/window open as expected). I've narrowed down the problem by disabling all other add-ons and the problem only occurs when temporary containers is enabled. When I disable temporary containers the problem doesn't occur. Your help would be much appreciated!
Thanks for your good work!!!

Here's a list of my existing add-ons:
uBlock Origin
Local cdn
Clear URLs
Cookie Auto Delete
PopUpOFF
Multi Account Containers
Skip Redirect
Smart Referrer
Facebook container
Tampermonkey

  • Temporary Containers Version: 1.9.2
  • Firefox Version: 92

Actual behavior

opens 2 tabs at Firefox startup (then closes one almost instantly)

Expected behavior

Open just one tab

@Jimmy-Q Jimmy-Q closed this as completed Oct 25, 2021
@Jimmy-Q
Copy link
Author

Jimmy-Q commented Oct 25, 2021

no response

@silverwings15
Copy link

silverwings15 commented Oct 25, 2021

it seems to appear

  • when you open a link in new tab that belongs to a different container than that of the parent tab.
  • when you create a new, containerless tab using Ctrl-T and opening any URL

@stoically would you be so kind as to provide your input?

@silverwings15
Copy link

adding screen recordings to help better visualize the issue

same.container.mp4
different.container.mp4

@Jimmy-Q Jimmy-Q reopened this Oct 27, 2021
@Jimmy-Q
Copy link
Author

Jimmy-Q commented Oct 27, 2021

Hello,
I hope that you're doing well today. The issue only occurs when Stoically/temporary-containers is enabled. When I disable Stoically temporary-containers the issue goes away. My file was too big so I added a link in Imgur. Thank you! I know you must be busy!

https://imgur.com/bX7s9A3

@fefo-dev
Copy link

fefo-dev commented Nov 4, 2021

I've also noticed this issue on browser/new tab load. Often just a visual glitch, but if there's some load on your computer the tab might be destroyed and replaced mid typing.

@silverwings15
Copy link

but if there's some load on your computer the tab might be destroyed and replaced mid typing.

yes the visual aspect is whatever, but this is the real problem

@Gitoffthelawn
Copy link

I've noticed this too. Firefox 94.0.1 with Temporary Containers v1.9.2. It's been going on for a while, so it doesn't appear to be a recent regression.

@stoically
Copy link
Owner

Does this happen with "Advanced Automatic Mode" configured to "Don't reopen instantly" or do you have "Blank page" configured as Firefox homepage? If so, then two tabs and one closing is expected behavior, as that's how TC needs to do it. There's no API to convert an existing tab from no container to temporary container.

@pixiekat
Copy link

pixiekat commented Nov 8, 2021

I've had this happen recently too. I'll end up with about 50 random temporary containers in my list that stick around (I have use history deletes instead of temporary by default and have it set to delete immediately after the last tab in it closes).

My homepage is configured as an addon (Tabby Cats, to be exact).

@fefo-dev
Copy link

fefo-dev commented Nov 8, 2021

There's no API to convert an existing tab from no container to temporary container.

Looking at the Automatic Mode options it's pretty cut and dry. Hopefully a fix/workaround is available one day; otherwise it's a minor annoyance to deal with this limitation.

@stoically
Copy link
Owner

@pixiekat

I'll end up with about 50 random temporary containers in my list that stick around (I have use history deletes instead of temporary by default and have it set to delete immediately after the last tab in it closes).

That sounds more like #371

@fefo-dev

Hopefully a fix/workaround is available one day; otherwise it's a minor annoyance to deal with this limitation.

It's a long-standing feature request: mozilla/multi-account-containers#1029 - and given that containers seem to have no priority for firefox at the moment and the task in itself is huge, I'm not hopeful that it'll be available anytime soon.

@pixiekat
Copy link

pixiekat commented Nov 8, 2021

That sounds more like #371

Thanks! I'll subscribe to that one!

@Gitoffthelawn
Copy link

Does this happen with "Advanced Automatic Mode" configured to "Don't reopen instantly" or do you have "Blank page" configured as Firefox homepage? If so, then two tabs and one closing is expected behavior, as that's how TC needs to do it. There's no API to convert an existing tab from no container to temporary container.

In General, I have Automatic Mode selected and in Advanced I have Instantly reopen new tabs in [TCs] selected.

For the Firefox home page, I have a moz-extension: URL that loads the page of another extension.

@stoically
Copy link
Owner

stoically commented Nov 9, 2021

For the Firefox home page, I have a moz-extension: URL that loads the page of another extension.

In that case it's expected behavior. If the flickering is now more visible than in the past, then maybe something in firefox changed in terms of how fast tabs close/open.

@Gitoffthelawn
Copy link

For the Firefox home page, I have a moz-extension: URL that loads the page of another extension.

In that case it's expected behavior. If the flickering is now more visible than in the past, then maybe something in firefox changed in terms of how fast tabs close/open.

Thanks for the details. And if I change the home page to a moz-extension: URL to use a bookmark with the same URL or "Use current pages" (with just that moz-extension: URL opened), or other such trickery, would anything change? I'm thinking not, as I'm guessing the issue is that moz-extension: URLs are protected by the Firefox by default.

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

No branches or pull requests

6 participants