Open SoftVision-EmilPasca opened 7 years ago
This is fixed by #793 with this fix: https://github.com/jonathanKingston/testpilot-containers/commit/3d69c344a9a0303f29b70c3e43820f4cbaa2f271
This issue is still reproducible on the latest latest Nightly (57.0a1-20170913220121) with Firefox Multi-Account Containers version (4.0.2 built on 09/14/2017) when having hidden tabs and choosing the "Move tabs to new window" option from the "Containers" panel.
This is not reproducible on Windows 10 x64 and Mac OS 10.12 with Firefox Release (53.0.3).
[Regression] Last good revision: 75cd3397298ad5c0f02129a87f465059018a9f63 First bad revision: ec6edd4fec8f62db57c1f075d1d3b536c74af5f8 Pushlog: https://goo.gl/FevcDz
[Notes]
Anecdotally (I don't want to pollute this issue) a few hours ago, during a string of tests with Multi-Account Containers 4.0.3 with Firefox 56.0 (64-bit) on FreeBSD-CURRENT with KDE Plasma 5 beta 5.10.95, I was surprised by some duplication. As far as I recall:
Unfortunately I can't find any screenshot or recording of the incident, my bad, but I'll keep this issue in mind.
For what it's worth: Firefox opening too many windows at start or session restoration time, occasionally opening three copies of a tab in response to a single Control-Click - Firefox Development - Mozilla Discourse … the sprawling screen recording there was of a heavily extended profile. Quite unlike the very clean profiles with which I tested a few hours ago.
I have been experimenting with my own fork of the addon as I wanted to disable the opening of all hidden tabs in a container when I open a new tab in the same container. I found out that when this.unhideContainer(tab.cookieStoreId) in the bellow addListener code is commented out the desired behavior is met. I also found out that I do not get any duplicated tabs when doing "Move tabs to new window" with this same change. So it seems this listener thingy is doing something fishy.
browser.tabs.onCreated.addListener((tab) => {
if (tab.incognito) {
badge.disableAddon(tab.id);
}
// lets remember the last tab created so we can close it if it looks like a redirect
this.lastCreatedTab = tab;
if (tab.cookieStoreId) {
/* This line causes all hidden tabs to be opened if a new tab in a container is created.
It also seems to duplicate tabs when doing "Move tabs to new window". */
//this.unhideContainer(tab.cookieStoreId);
}
setTimeout(() => {
this.lastCreatedTab = null;
}, this.LAST_CREATED_TAB_TIMER);
});
i'm getting this issue as well, albeit sporadically. It happens when the container "forgets" its saved tabs, then when it remembers them it duplicates them on every re-opening of the container, regardless if i delete them.
[Additional Notes]:
[Affected versions]:
[Affected Platforms]:
[Prerequisites]:
[Steps to reproduce]:
[Expected result]:
[Actual result]:
[Notes]
┆Issue is synchronized with this Jira Task