Closed Bug 1909595 Opened 4 months ago Closed 1 month ago

Sidebar settings and status are not saved when exiting

Categories

(Firefox :: Sidebar, defect)

Firefox 128
defect

Tracking

()

RESOLVED DUPLICATE of bug 1908019

People

(Reporter: jwbug, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0

Steps to reproduce:

Starting Firefox (Windows)

Actual results:

When Firefox starts, the status of the sidebar (bookmarks) before version 128.0 is displayed, such as size, on/off, etc. The current changes are not saved and called up.
The reason: No new data is written to the xulstore file
After deleting the xulstore, a new file is created, but this is no longer changed.

Component: Untriaged → Sidebar

I have noticed something similar happening on Linux after the 128.0.3 update. From what I can ascertain it's related to having privacy.sanitize.sanitizeOnShutdown set to true. Either this pref alone or in conjunction with other clearOnShutdown prefs cause the sidebar settings to be lost on shutdown but not on restart.

We moved sidebar status off of xulstore and solely into session store, as there was already a split between the two that was causing bugs. Although we've seen now that there are edge cases where if a user clears history (see bug 1908019), is in permanent private browsing (see bug 1909109) or closes a window where only new tab was open, it doesn't preserve the sidebar UI state.

Do any of the above apply in your case? If not, can you be very specific about the state of your windows (what tabs/how many), and how exactly you quit the browser?

Flags: needinfo?(jwbug)

I have Delete cookies and site data when Firefox is closed and Clear history when Firefox closes set. However, following the 128.0.3 update I had to clear the setting for the former to prevent losing the sidebar settings on close.

I do have browser.tabs.closeWindowWithLastTab set to ```false`` and typically the only tab open when I close the browser is a blank tab. I don't use permanent private mode

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 1908019
Flags: needinfo?(jwbug)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.