Open Bug 1954301 Opened 1 month ago Updated 17 days ago

sessionstore.jsonlz4 wiped if firefox is opened and closed without being given focus

Categories

(Firefox :: Session Restore, defect, P2)

Firefox 135
defect

Tracking

()

People

(Reporter: deadbeetle0, Unassigned)

References

Details

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

Steps to reproduce:

Preferences -> Startup: Open previous windows and tabs
Open Firefox in unfocused workspace (Firefox does not reopen session until given focus)
Close Firefox, either with kill or by logging out of desktop session

Actual results:

sessionstore.jsonlz4 overwritten with skeleton file

Expected results:

sessionstore.jsonlz4 not modified

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

Thanks for filing. I'm linking this to bug 1891433 which is another case where we end up writing an empty session file. In this case we shouldn't write the session at all I suspect.

Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
See Also: → 1891433

This is data-loss from the session restore component. I'm assigning S2 severity for that reason - though we have other similar bugs that are S3 so I could go either way.

It looks like bug 1954603 has been resolved in 137, so I just updated and tested this again. This time I was not able to get Firefox to lose my session data, so I think this is fixed now.

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