Prior to the decision by Ubuntu to use a Snap to package Firefox, Firefox was routinely updated by APT. This was largely invisible to the user who merely had to authoriz… (cytajśo wěcej)
Prior to the decision by Ubuntu to use a Snap to package Firefox, Firefox was routinely updated by APT. This was largely invisible to the user who merely had to authorize the update. However with SNAP there is now the annoying countdown that appears every day when I go into Firefox. I have not researched Snap vs Flatpak vs Aur vs ..., so I do not understand why Ubuntu does not update the Firefox SNAP in the backfround. Undoubtedly there are advantages to Canonical in using Snap, but they haven't sold those advantages to me!
Like a lot of people I spend a lot of my life with the browser open. Linux does not generally use proprietary apps for access to tools which use such apps on mobile devices, so using Twitter, or Youtube, or Reddit, or various Google tools, just uses tabs within the browser. This means to update the SNAP for Firefox I have to exit out of every application on my desktop, and then wait while the SNAP refresh runs in a terminal window, not even a GUI tool. Furthermore this is not just the time to apply the update, I also have to wait while 3MB of code is downloaded, because Ubuntu doesn't bother to preload the Snap update! Strangely Ubuntu 22.04 does not even automatically run a SNAP refresh during a reboot, when everything, including the SNAP daemon itself is shut down! One of the first things I had to do after upgrading to 22.04 was to apply a new snap of the daemon itself. Ubuntu does not provide a tool to shut down the snap daemon. You must open a terminal and kill the daemon.
Although I can tolerate the time it takes this update mechanism to run, I cannot tolerate the time it would take me to restore all of the activities that I had open within Firefox. At this moment, a typical day, I have eighteen tabs open in Firefox. Ubuntu demands that I shut down Firefox, which will discard all of that state information, sit around while it mindlessly loads and applies the SNAP that it could have done in the background, and then I have to restore those eighteen tabs.
So I open the terminal, enter "sudo killall firefox; sudo snap refresh". But then when I go back into Firefox it naturally wants to warn me that the previous session was terminated abnormally. I know that I killed it. The message Firefox chooses for this is misleading "Sorry. We’re having trouble getting your pages back." Instead of, for example "Firefox failed abnormally. Do you want to resume your previous pages?" Since I cannot easily avoid the Ubuntu implementation of SNAP for Firefox is there a Firefox configuration option that says "Yeah, I know Firefox crashed, but I would prefer not to be annoyed by a misleading message when I start it up again if there is a snapshot to recover from."