Support org.freedesktop.portal.Flatpak.UpdateMonitor (flatpak portal) for Firefox updates
Categories
(Firefox Build System :: Third Party Packaging, enhancement)
Tracking
(Not tracked)
People
(Reporter: mateusrodcosta, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
- Run Firefox Flatpak
- Try to check for updates inside Firefox by going on "About Firefox"
Actual results:
Checking for updates is unavailable inside Flatpak Firefox
Expected results:
Flatpak has UpdateMonitor (org.freedesktop.portal.Flatpak.UpdateMonitor), a Flatpak portal that allows an Flatpak app to self-update.
Ideally Firefox should integrate this portal and be able to re-add the update feature it has on other platforms for Flatpak installs on Linux.
For more info: https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-org.freedesktop.portal.Flatpak.UpdateMonitor
And: https://blogs.gnome.org/mclasen/2019/10/03/some-flatpak-updates/
| Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 1•2 years ago
|
||
Thank you for submitting this enhancement.
Setting this as NEW in order to involve the development team and get an opinion on this.
| Reporter | ||
Comment 2•2 years ago
|
||
Hi, I believe there are 2 reasons to consider doing this.
Reason 1:
It allows the user to check updates from inside Firefox flatpak and trigger the update.
This would make the update checking feature work in a way equaivalent to non-Linux platforms and tarballs Firefox build (correct me if I'm worng)
Reason 2:
Apparently if the user has updated the Firefox flatpak and hasn't rested yet, the currently running tabs will continue work but it will prevent opening new ones since those will crash (which is apparently the same behavior as when non-Flatpak Firefox is updated while running).
Using the portal might be possible to figure out whether an update is running or has already been run, which could allow to alert the user for restarting.
Description
•