You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firefox is not persisting startup option 'Open previous windows and tabs' (browser.startup.page) after a closing and relaunching of web apps.
Steps to Reproduce
Go to Preferences
Turn on 'Open previous windows and tabs'
Close web app
Reopen web app. This startup will resume any previous tabs, however in preferences the setting is reset to unchecked.
Close and reopen web app again and previous tabs are not restored.
Additional Information
I noticed this after a recent update in the past few weeks (I believe the 116 Update). The option no longer works for any of my existing web app installations (~10 various sites). I have tried reinstalling the native driver, updating the web apps, and tried adding a new web app, with unfortunately none persisting the setting. I tested toggling a few other settings on the preferences page and they all seemed to persist over a restart. The prefs.js file shows the 'browser.startup.page' entry being removed when the web app is launched.
Environment
Operating system: Pop!_OS 22.04
System architecture: x64
Desktop environment: Gnome
Installation method: deb
PWAsForFirefox extension version: 2.7.3
PWAsForFirefox native version: 2.7.3
PWAsForFirefox runtime version: 116.0.3
Firefox version: 116.0
The text was updated successfully, but these errors were encountered:
reillymc
changed the title
Startup option 'Open previous windows and tabs' not persisting ofter web app restart
Startup option 'Open previous windows and tabs' not persisting over web app restart
Aug 17, 2023
Some preferences are currently being reset on startup as they can cause problems when set to incorrect values and were often incorrectly synced from normal Firefox profiles. Specifically, browser.startup.page and browser.startup.homepage are reset because they could cause issues like #253 and #349.
Considering that most users have already upgraded to versions with this reset, I will probably remove it (or at least for some preferences) in the next version. You can also manually remove this reset:
Thanks for responding so quickly and explaining context around the issue. Was interesting to explore a bit more into the project. Following those steps has fixed the issue for me - all of my web apps are back starting up with previous tabs as they were before. Thanks again!
Description
Firefox is not persisting startup option 'Open previous windows and tabs' (browser.startup.page) after a closing and relaunching of web apps.
Steps to Reproduce
Additional Information
I noticed this after a recent update in the past few weeks (I believe the 116 Update). The option no longer works for any of my existing web app installations (~10 various sites). I have tried reinstalling the native driver, updating the web apps, and tried adding a new web app, with unfortunately none persisting the setting. I tested toggling a few other settings on the preferences page and they all seemed to persist over a restart. The prefs.js file shows the 'browser.startup.page' entry being removed when the web app is launched.
Environment
The text was updated successfully, but these errors were encountered: