Open Bug 1793598 Opened 3 years ago Updated 9 months ago

Tabs moved between windows are not restored.

Categories

(Firefox :: Session Restore, defect)

Firefox 105
Desktop
All
defect

Tracking

()

People

(Reporter: klausness, Unassigned, NeedInfo)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:105.0) Gecko/20100101 Firefox/105.0

Steps to reproduce:

(1) Open some web page with links (call this page 1).
(2) Open one link from page 1 in a new tab in the same window (call this page 2).
(3) Open another link from page 1 in a new window (call this page 3).
(4) Drag the tab with page 3 from the new window to the original window, so that you now have a window that has three tabs with page 1, page 2, and page 3.
(5) Quit Firefox, restart it, and restore previous session.

Actual results:

The restored window has only the tabs with page 1 and page 2. Page 3 (the one that was originally opened in a new window) has disappeared.

Expected results:

The restored window should have tabs for page 1, page 2, and page 3

Note that issue also occurs in safe mode and with a new profile.

I can also reproduce this in Nightly107.0a1 Windows10.

FWIW, The page 3 can be restored from Recently Closed Window.

Status: UNCONFIRMED → NEW
Component: Untriaged → Session Restore
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop

This has been discussed in a reddit thread, where it was suggested that, since each window apparently has its own session, this may be due to waiting less than browser.sessionstore.interval (which defaults to 15 seconds) before moving the tab.

Indeed, if I wait at least 15 seconds between steps 3 and 4, the tab is restored with the session. However, if I wait less than 15 seconds, the tab will not be restored (no matter how long I wait between steps 4 and 5). (Note that if I quit immediately after step 3, without moving the tab, then the new window with page 3 is restored.)

Possibly related to Bug 1788255 or Bug 1779277.

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dao+bmo)
Duplicate of this bug: 1788255

Note that I can still reproduce this issue:

  • Open a link in a new window (e.g. right-click a link and choose "Open link in new windows")
  • Drag the tab to an existing window. Make sure that you do this in less than browser.sessionstore.interval microseconds (the default is 15 seconds)
  • Restart Firefox, restoring previous session.

Result: The new tab is not restored.

If you wait more than browser.sessionstore.interval microseconds before moving, the tab is restored as expected.

(In reply to klausness from comment #7)

Note that I'm reproducing in Firefox 132.

You need to log in before you can comment on or make changes to this bug.