You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I open a stash with a few hundred tabs and switch browser windows while the tabs are being opened, some of the tabs get opened in the newly focused window. They should open in the original window when the open all tabs button was clicked.
To Reproduce
Detailed steps to reproduce the behavior:
Have two, (preferably empty to see the problem easily) browser windows available.
Have a stash with a couple of hundred or so tabs.
Click 'Open all tabs in this group' button in the sidebar
Quickly switch to the other window while tabs are still being opened.
Notice that some tabs got opened in the new window we just switched to.
Expected behavior
All tabs should open in the original window the "Open all tabs" button was clicked in.
Screenshots
.
Desktop (please complete the following information):
OS: Mac
Firefox Browser Version: 68.0
Additional context
.
The text was updated successfully, but these errors were encountered:
Hi, thanks for the report and sorry for the inconvenience! And especially thanks for the detailed steps; they made it quite easy to reproduce the problem on my end.
I think I've figured out why this is happening. There was one place in the code where we open new tabs (if we can't find any hidden/recently-closed tabs), and we don't tell Firefox which window they're for, so Firefox just puts them in whatever window is active.
I have a fix ready to go and will include it in the next release.
In `restoreTabs()`, we were not passing a windowId to `tabs.create()`,
so the tabs were just going into the active window. If the user quickly
switches from one window to another while a restore is happening, the
poor, hapless newly-active window will get mobbed by a bunch of tabs
that don't belong there.
Describe the bug
If I open a stash with a few hundred tabs and switch browser windows while the tabs are being opened, some of the tabs get opened in the newly focused window. They should open in the original window when the open all tabs button was clicked.
To Reproduce
Detailed steps to reproduce the behavior:
Expected behavior
All tabs should open in the original window the "Open all tabs" button was clicked in.
Screenshots
.
Desktop (please complete the following information):
Additional context
.
The text was updated successfully, but these errors were encountered: