simple-tab-groups icon indicating copy to clipboard operation
simple-tab-groups copied to clipboard

In a group with "always open tabs in container" set, new tabs are duplicated if a different extension redirects the URL

Open oddmechanism opened this issue 2 years ago • 6 comments

Describe the bug When opening a new tab to a URL that gets redirected by another extension, two tabs are opened to the destination site. This can happen after opening a new tab and typing or searching with the address bar, or opening a bookmark in a new tab. I've had this happen with ClearURLs, Old Reddit Redirect, and LibRedirect. #740 and #857 report a similar issue but I believe this is the root cause, as I can't reproduce it with no extensions other than Simple Tab Groups. The behavior is not consistent; the bug sometimes doesn't happen and the browser opens just one tab like expected, and I haven't been able to pin down the reason for this, but reopening the browser seems to put things in a state where it always happens. ClearURLs seems to sometimes cause the bug when searching with Google, but this is even less consistent and I haven't found a way to reliably reproduce it.

To Reproduce Steps to reproduce the behavior:

  1. Install Simple Tab Groups and Old Reddit Redirect (https://addons.mozilla.org/en-US/firefox/addon/old-reddit-redirect/)
  2. Completely close and reopen Firefox.
  3. Create a new group.
  4. In the group settings, set "always open tabs in container" to Personal
  5. Click the + in the tab bar to open a new tab.
  6. Type reddit.com in the address bar and hit Enter.
  7. Two old.reddit.com tabs are opened.

Expected behavior One old.reddit.com tab is opened.

Screenshots Before: image After: image What should happen: image

Desktop (please complete the following information):

  • OS and version: Windows 11
  • Firefox version: 117.0, Developer Edition 118.0b7
  • Simple Tab Groups version: 5.2

Additional context The bug does not not occur when navigating to a redirected site while already in a container tab. It specifically happens when a new tab is opened

oddmechanism avatar Sep 11 '23 17:09 oddmechanism

@oddmechanism Have you installed Multi-Account Container add-on?

If an answer is yes then probably it could be misconfiguration of that add-on (no of Simple Tab Groups add-on). This comment in MAC repository about possible reconfiguration could potentially help you. If it works for you, could you close this issue as it is not a bug but more like misconfiguration. :)

achernyakevich-sc avatar Sep 11 '23 18:09 achernyakevich-sc

@achernyakevich-sc The bug happens regardless of whether or not Multi-Account Containers is installed or whether or not that checkbox is enabled.

oddmechanism avatar Sep 11 '23 20:09 oddmechanism

I have the same problem just with DuckDuckGo, it also only occurs when creating a tab with STRG + T. When using multi-account-containers shortcuts or doing it via user interface, it is no problem at all. I also think it has something to do with redirecting because it doesn't happen when I use another search engine than Duck Duck Go or when I disable DuckDuckGo Privacy Essentials Extension.

lasnikr avatar Nov 21 '23 15:11 lasnikr

I've been suffering the same issue. Based on the comments here, I tested disabling the DuckDuckGo Privacy Essentials extension and the issue stopped, so it definitely seems to be that extension and this not playing nicely together (in my case).

rLokau avatar Jan 03 '24 00:01 rLokau

I think I just found a work-around. In the settings for DuckDuckGo Privacy Essentials, I added duckduckgo.com as a site exception. Now when I search from the address bar in a new tab it works correctly.

rLokau avatar Jan 03 '24 02:01 rLokau

I have had the same issue. I just disable the DuckDuckGo Privacy Essentials extension following what @rLokau tried and re-enabled it again and the issue seems to have disappeared.

glciampaglia avatar Jun 25 '24 23:06 glciampaglia