When closing last tabs of two windows, they are restored on restart
Categories
(Firefox :: Session Restore, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | verified |
People
(Reporter: pyjacpp, Assigned: pyjacpp, NeedInfo)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0
Steps to reproduce:
- Enable session restore (open previous windows and tabs settings)
- Open 2 windows with one tab each (tab 1 in window 1 and tab 2 in window 2)
- Wait a little
- Close the two tabs quite rapidly (for example, with the shortcut ctrl+w) (tab 2 first and then tab 1 for example)
- Restart Firefox
Actual results:
The two windows are restored with their respective tabs (window 1 with tab 1 and window 2 with tab 2).
Expected results:
The tabs have been closed so they should not be restored. Only one window with the home tab should be restored. Reopen closed tab should restore the tab of the last closed window (in this case tab 1). Ctrl+Shift+N (restore last window) should restore the second window (window 2) with its tab (tab 2).
See bug 490136, and bug 1732366.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
After closing last tabs of multiple windows, only if we don't use session restore we restore them.
Updated•3 years ago
|
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:dao, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 4•2 years ago
|
||
Backed out for causing failures related to TestSessionStoreEnabledAllWindows.test_close_tabs
Backout link
Push with failures
Link to failure log
Failure line :
TEST-UNEXPECTED-ERROR | browser/components/sessionstore/test/marionette/test_restore_windows_after_close_last_tabs.py TestSessionStoreEnabledAllWindows.test_close_tabs | OSError: Process still running 70.0s after quit request
Comment 7•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Reproduced the issue following STR from comment 0 with Firefox 101.0a1 (20220427213431) on Windows 10x64.
The issue is verified fixed with Firefox 104.0b4 (20220731190208) on Windows 10x64, macOS 11 and Ubuntu 21. The closed windows are not opened after restart when following the STR from comment 0 with session restore enabled.
Description
•