Closed Bug 1767054 Opened 2 years ago Closed 2 years ago

Restoring group of closed tabs with a blank tab after Firefox restart doesn't restore the group completely

Categories

(Firefox :: Session Restore, defect)

Firefox 98
defect

Tracking

()

VERIFIED FIXED
105 Branch
Tracking Status
firefox105 --- verified

People

(Reporter: pyjacpp, Assigned: pyjacpp, NeedInfo)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

  1. Enable session restore (open previous windows and tabs settings)
  2. Open 3 tabs
  3. Select the 3 tabs
  4. Close the 3 tabs
  5. Restart Firefox
  6. The 3 tabs should not be restored, only a new tab should be open after the restart
  7. Reopen closed tabs (Ctrl+Shift+T)

Actual results:

Only two tabs are restored (the first two) and the new tab isn't closed.

Expected results:

The new tab should be closed and the three tabs should be restored.
It should be the same result as opening 3 tabs and a blank new tab, closing the 3 tabs (the blank new tab is selected), undoing the close (the three tabs are restored and the new tab is closed).

The Bugbug bot thinks this bug should belong to the 'Firefox::Session Restore' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Session Restore

When undoing closed tabs, only close blank tab after all tabs are undone in order to not instantly restore the blank tab as part of the group.

Assignee: nobody → pyjacpp
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

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)
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1b0505bb0651
While undoing closed tabs, close blank tab after all tabs are undone. r=jaws
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
QA Whiteboard: [qa-105b-p2]

Reproduced the initial issue using an old Nightly from 2022-04-29. Verified that all the tabs are now restored using Ctrl+Shift+T shortcut keys on Windows 10 and Ubuntu 18.04, using Firefox 105 RC.
On mac this is not possible since closing the tabs will not close the entire browser, reopening the browser from deck will actually open a new window and in order to restore the previously closed tabs the previous window needs to be restored (and that restoration works as expected).

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-105b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: