Lurker News
Back to discussion

Comment by mhitza

mhitza1 reply#
Not the OP, but I consider it a soft crash every time I update Firefox in my OS, and it won't allow me to spawn new tabs until I restart Firefox. Annoying behavior they've included a couple years back.
sfink2 replies#
If I understand what you're reporting correctly, then that's something your OS "included a couple of years back".

If you install Firefox from Mozilla's site, it won't have these update problems. What's happening is that your package manager is swapping Firefox's bits out from under it while it's running. Firefox's built-in update system doesn't do that.
Which is not to say that I think you shouldn't be using a packaged version of Firefox. Personally I'm running Nightly so I don't have the option anyway. Generally speaking, I vastly prefer sticking to my package manager's stuff.
I just wish the package managers would fix their Firefox updates. (I don't know what the right fix would be, and I imagine it could be hard.)

mhitza3 replies#
Then someone at Redhat was probably bribed by some Googler, cause it only happens with Firefox updates /s

Joke aside, Firefox is aware that it's been updated and the new tab states that I have to restart my browser. I'm not familiar with the inner workings of Firefox, I just expect it to have everything it needs to function, in working memory. I've been using Fedora for close to 14 years now, Firefox always installed from system packages, and the updates always replaced the existing files on disk without it affecting my application experience. No other desktop app I use has this behavior after updates while they where running.
A big fuss? No, got used to it already. But I still consider it a soft crash state that I encounter with Firefox.

kaba0#
You just probably use the web browser much more often to catch it after an update. And afaik, the reason for this is that they can only maintain a known good state this way, as well as making freshly patched security patches available as soon as possible.
grey_earthling3 replies#
Strictly, Fedora doesn't support doing updates while the system is running (or at least they don't recommend it).

An alternative that might be smoother in this regard: use a flatpak version of Firefox instead. (Firefox is in Fedora's flatpak repo, and on Flathub.) GNOME Software updates flatpak apps in the background, and you just get the new version the next time you open the app.

Continue this thread — 3 replies

sfink#
Er... just yesterday I had the crappy update experience that everyone is talking about. And that's using Firefox Nightly, with a downloaded build. So I'd need to look more into this to understand what the actual situation is.

Hm... though now I wonder... I also had a cron job that ran me out of disk space. I wonder if that contributed to make it more like the external file replacement situation?

account42#
I don't think the package managers are at fault here and this would be much more easily fixed in Firefox itself by not touching the filesystem after Firefox starts - resources are already bundled so you only need to keep a handle open (package managers don't change file contents but replace what the filename points to) and only fork instead of executing new processes (keep a pristine process running to fork from if you want).