While that is a useful and informative account of the reasoning behind the problem, I would respectfully suggest that Firefox's inability (a) to shut down gracefully, giving time to save work and (b) to reopen the tabs are indeed bugs. It doesn't even restart itself, though it says it will.
As a workaround I have dumped Ubuntu Firefox and shifted to Mozilla, Updating it is more involved but less annoying. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1964997 Title: Firefox updates uncontrollably Status in firefox package in Ubuntu: Invalid Bug description: Whenever an update is made available Firefox installs it and then insists on restarting, losing all work in open tabs, which it is unable to re-open. This is disruptive, annoying and completely unnecessary, and seems peculiar to Ubuntu: stock Firefox from Mozilla gives the user control. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: firefox 98.0+build3-0ubuntu0.18.04.2 ProcVersionSignature: Ubuntu 5.4.0-90.101~18.04.1-generic 5.4.148 Uname: Linux 5.4.0-90-generic x86_64 AddonCompatCheckDisabled: False ApportVersion: 2.20.9-0ubuntu7.27 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: ian 1492 F.... pulseaudio /dev/snd/controlC0: ian 1492 F.... pulseaudio BuildID: 20220304153049 Channel: Unavailable CurrentDesktop: XFCE Date: Tue Mar 15 18:14:57 2022 DefaultProfileExtensions: extensions.sqlite corrupt or missing DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) DefaultProfileLocales: extensions.sqlite corrupt or missing DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:367 DefaultProfilePrefSources: prefs.js DefaultProfileThemes: extensions.sqlite corrupt or missing ForcedLayersAccel: False IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback InstallationDate: Installed on 2021-08-25 (202 days ago) InstallationMedia: Xubuntu 18.04.5 LTS "Bionic Beaver" - Release amd64 (20200806.1) IpRoute: default via 10.0.1.2 dev enp0s25 proto static metric 100 10.0.1.0/24 dev enp0s25 proto static scope link metric 100 169.254.0.0/16 dev enp0s25 proto static scope link metric 1000 Profile1Extensions: extensions.sqlite corrupt or missing Profile1IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) Profile1Locales: extensions.sqlite corrupt or missing Profile1PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:367 Profile1PrefSources: prefs.js Profile1Themes: extensions.sqlite corrupt or missing Profile2Extensions: extensions.sqlite corrupt or missing Profile2IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) Profile2Locales: extensions.sqlite corrupt or missing Profile2PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:367 Profile2PrefSources: prefs.js Profile2Themes: extensions.sqlite corrupt or missing Profile3Extensions: extensions.sqlite corrupt or missing Profile3IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) Profile3Locales: extensions.sqlite corrupt or missing Profile3PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:367 Profile3PrefSources: prefs.js Profile3Themes: extensions.sqlite corrupt or missing Profiles: Profile3 - LastVersion=98.0/20220304153049 (In use) Profile1 - LastVersion=91.0.1/20210816143654 (Out of date) Profile0 (Default) - LastVersion=89.0/20210527174632 (Out of date) Profile2 - LastVersion=88.0/20210415204500 (Out of date) RunningIncompatibleAddons: False SourcePackage: firefox UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/07/2012 dmi.bios.vendor: LENOVO dmi.bios.version: 5CKT77AUS dmi.board.name: LENOVO dmi.board.vendor: LENOVO dmi.board.version: NONE dmi.chassis.asset.tag: ������������������������ dmi.chassis.type: 3 dmi.chassis.vendor: LENOVO dmi.chassis.version: NONE dmi.modalias: dmi:bvnLENOVO:bvr5CKT77AUS:bd05/07/2012:svnLENOVO:pn8820ABG:pvrThinkCentreM58:rvnLENOVO:rnLENOVO:rvrNONE:cvnLENOVO:ct3:cvrNONE: dmi.product.family: NONE dmi.product.name: 8820ABG dmi.product.sku: NONE dmi.product.version: ThinkCentre M58 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964997/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp