mozilla / multi-account-containers

Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs that preserve your privacy. Cookies are separated by container, allowing you to use the web with multiple identities or accounts simultaneously.
https://addons.mozilla.org/firefox/addon/multi-account-containers/
Mozilla Public License 2.0
2.71k stars 341 forks source link

Reddit Google links open in Reddit tabs but close the Google tab #2487

Open andreapx opened 1 year ago

andreapx commented 1 year ago

Before submitting a bug report

Step to reproduce

Do a search on Google, click on a Reddit link

Actual behavior

I have all Google domains that opens into a "Google" container and Reddit to open on a "Reddit" container (and a lot of other containers!). So, if I open a Microsoft link in the Google search, Firefox opens a Microsoft container in a new tab, and so it does if I open a Facebook link and others, but if I click on a Reddit link, Firefox open a Reddit container in the same tab as the Google search, or maybe it opens in a new tab, but it closes the Google tab (I se a rapid tab opening/closing and the new reddit tab doesn't have the back button, so it seems a new tab).

Expected behavior

I expect that, as it does with all the other containers, Firefox keeps the existing Google tab and opens a new Reddit tab

Additional informations

No response

Provide a copy of Troubleshooting Information page (optional)

No response

dannycolin commented 1 year ago

if I click on a Reddit link, Firefox open a Reddit container in the same tab as the Google search, or maybe it opens in a new tab, but it closes the Google tab

Does the container indicator (colored line over the tab, icon/name in the address bar) changes to the one you configured for your reddit container? If yes, that means the link opens in the right container.

(I se a rapid tab opening/closing and the new reddit tab doesn't have the back button, so it seems a new tab).

This is expect that a new container tabs doesn't have the history (back button) from any other tabs.

What's unexpected is that the google container tab closes only when you open a link assigned to your reddit container but not with your Microsoft or Facebook one.

Have you enabled "Replace tab instead of creating a new one" in Multi-Account Containers preferences?

andreapx commented 1 year ago

Hi @dannycolin and thanks for your fast response! I do had the option "Replace tab instead of creating a new one" enabled, I disabled and it works as I need. It's still strange that this happens only with the Reddit tab 🤷‍♂️ Is there some tests that I can do?

dannycolin commented 1 year ago

Just to confirm:

If you open a Microsoft link in your Google container, it opens a new tab while keeping the Google container tab. The same thing happens with Facebook links.

If you open a Reddit link in your Google container, it opens a new tab and close the Google container tab.

andreapx commented 1 year ago

Just to confirm:

If you open a Microsoft link in your Google container, it opens a new tab while keeping the Google container tab. The same thing happens with Facebook links.

If you open a Reddit link in your Google container, it opens a new tab and close the Google container tab.

Exactly!