You are not logged in.

#1 2024-10-14 14:20:06

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 14

AUR's Firefox forces you to restart when an update is downloaded

AUR's Firefox forces you to restart once an update is downloaded, however Flatpak's Firefox doesn't do that.

I'd like to know why the AUR version forces the user to restart the program, because letting the user close the app on their own would be much more intuitive.

Offline

#2 2024-10-14 14:21:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,123

Re: AUR's Firefox forces you to restart when an update is downloaded

What "AUR's Firefox" are you talking about?

Offline

#3 2024-10-14 14:29:41

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 14

Re: AUR's Firefox forces you to restart when an update is downloaded

Scimmia wrote:

What "AUR's Firefox" are you talking about?

I mean the one you get by entering "sudo pacman -S firefox" on the terminal.

Offline

#4 2024-10-14 14:35:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,123

Re: AUR's Firefox forces you to restart when an update is downloaded

well that has nothing to do with the AUR at all, that's firefox from the Extra repo. And there's nothing there that automatically restarts it at all.

Offline

#5 2024-10-14 14:37:51

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 14

Re: AUR's Firefox forces you to restart when an update is downloaded

Scimmia wrote:

well that has nothing to do with the AUR at all, that's firefox from the Extra repo. And there's nothing there that automatically restarts it at all.

What actually happens is that it stops loading pages, and tells the user to restart Firefox in order to install the new update.

Offline

#6 2024-10-14 15:05:38

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 14

Re: AUR's Firefox forces you to restart when an update is downloaded

So apparently the way that Flatpak handles updates just so happens to be effective against Firefox's aggressive approach to updates.
"Flatpak apps run in a container, and the update process updates the container image. So the app is entirely unaffected until you close it and run it again."

Offline

#7 2024-10-15 10:27:58

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: AUR's Firefox forces you to restart when an update is downloaded

For clarity :

Are you running pacman -Syu while in a GUI environment and having applications open ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2024-10-15 10:41:55

Fernando M. Muniz
Member
Registered: 2024-06-27
Posts: 14

Re: AUR's Firefox forces you to restart when an update is downloaded

Lone_Wolf wrote:

For clarity :

Are you running pacman -Syu while in a GUI environment and having applications open ?

Yes.
Technically speaking, pacman is doing it the correct way, and flatpak is doing the wrong way. However the wrong way is better at dealing with this unnecessary design choice by Mozilla.

Offline

#9 2024-10-15 14:38:48

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: AUR's Firefox forces you to restart when an update is downloaded

I assume the "unnecessary design choice" is basically the multi-process approach and if you replace the on-disk binaries, FF will detect the incompatible version change and require a restart.
The same happens when you let FF run an internal update (which iirc is disabled on most distros but the common way eg on windows)
There's no way around that unless FF copies itself and all relevant libraries completely (in doubt into RAM), effectively creating a transient homebrew flatschpak.

Flatpaks simply never get "updated" at all.
You install another flatpak, the previous one will remain available until the last filehandle is closed or you're running out of inodes.

Offline

Board footer

Powered by FluxBB