Closed Bug 1785900 Opened 3 years ago Closed 2 years ago

firefox quit in some cases restores only one window and the others in the session are as closed windows

Categories

(Firefox :: Session Restore, defect)

Firefox 104
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox105 --- affected

People

(Reporter: prahal, Unassigned, NeedInfo)

Details

Attachments

(1 file)

25.92 KB, application/octet-stream
Details
Attached file recovery.jsonlz4

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

Steps to reproduce:

on firefox dev 104.0b9 (64-bit) if cop the attached recovery.jsonlz4 of my test session to a profile directory as sessionstore.jsonl4 ( ie more than 4 windows, one with 3 tabs) then start "firefox --no-remote -P <profile> --safe-mode", then quit firefox without killing it, then restart firefox, only 1 window is restored. The others are saved as closed windows. I have to go to "History" > "Recently closed windows" and open them back one by one.

Actual results:

Only one window is restored (always the one with the tabs it seems).

Expected results:

The four windows are restored even on the second firefox startup.

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

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

To me, this looks more like a Firefox > Session Restore issue. Reassign.

Component: Widget: Gtk → Session Restore
Product: Core → Firefox

I can reproduce the issue on Ubuntu 22.04 with Fx 105.0b1

Status: UNCONFIRMED → NEW
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)

Sorry typo:
if I copy the attached recovery.jsonlz4 of my test session to a profile directory as sessionstore.jsonlz4
not:
if cop the attached recovery.jsonlz4 of my test session to a profile directory as sessionstore.jsonl4

ie jsonlz4 not jsonl4

I cannot reproduce this quit firefox improper session save bug with the sessionstore I attached, on Firefox 111.0.1 (64-bit) or 102.9.0esr (64-bit).

At times I do not get the "Restore windows" alert and have to go to the Menu History > "Restore previous session" on my own but the session is OK once restored.

Closing.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: