Closed Bug 1838871 Opened 2 years ago Closed 2 years ago

Ctrl-Shift-T no longer re-opens the last closed tab after restarting the browser

Categories

(Firefox :: Session Restore, defect)

defect

Tracking

()

VERIFIED FIXED
116 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox114 --- unaffected
firefox115 --- unaffected
firefox116 --- verified

People

(Reporter: mconley, Assigned: mconley)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Paraphrasing bug 1833416 comment 4:

After bug 1833416 landed, when Firefox is open Ctrl+Shift+T does not open closed tabs I have from last session

Step to reproduce:

  1. set Firefox to 'Open previous windows and tabs'
  2. on one open window open and close some tabs
  3. close Firefox
  4. open Firefox
  5. click Ctrl+Shift+T to open last closed tab

Result: no tab open

Hey dao, what do you think we should do in this case? Perhaps if the list of closing actions is empty, we fallback to the previous behaviour of opening the most recently closed tab (and if no such tab exists, trying to re-open the last session?)

Flags: needinfo?(dao+bmo)

Set release status flags based on info from the regressing bug 1833416

I spoke to epang about this, and he agreed this is the right move.

Flags: needinfo?(dao+bmo)
Assignee: nobody → mconley
Status: NEW → ASSIGNED
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b8fcfbd2c5e9 Fallback to previous behaviour of Ctrl-Shift-T if the in-memory undo actions list is empty. r=dao,sessionstore-reviewers
Backout by abutkovits@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/58c6c7c676e3 Backed out changeset b8fcfbd2c5e9 for causing failures at browser_restoreLastClosedTabOrWindowOrSession.js. CLOSED TREE
Flags: needinfo?(mconley)
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f216a0434428 Fallback to previous behaviour of Ctrl-Shift-T if the in-memory undo actions list is empty. r=dao,sessionstore-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

Set release status flags based on info from the regressing bug 1833416

Flags: qe-verify+

Reproduced the issue with Firefox 116.0a1 (2023-06-16) on MacOS 12 (command+shift+t) and Win 10 (ctrl+shift+t).
The issue is verified fixed with Firefox 117.0a1 (20230724091621) and Firefox 116.0b8 (20230720200012) on MacOS 12, Win 10 and Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: