Beoardielingen foar Progressive Web Apps for Firefox
Progressive Web Apps for Firefox troch Filip Štamcar
Wurdearringen foar Squeaky Pancakes
Wurdearring: 4 fan 5
troch Squeaky Pancakes, 4 jierren lynWorks really well, better than electron apps most of the time.
My one problem is it for some reason ignores XDG Portals on Linux meaning that KDE users are stuck with the terrible GTK file picker.
My one problem is it for some reason ignores XDG Portals on Linux meaning that KDE users are stuck with the terrible GTK file picker.
Antwurd ûntwikkeler
4 jierren lyn pleatstYou can enable XDG portals by setting `widget.use-xdg-desktop-portal` to `true` in `about:config` inside PWA profile (you can open `about:config` by pressing F6 and then typing it into the popup).
It seems Firefox by default never uses XDG portals, but distros with KDE instead set some environment variable (`GTK_USE_PORTAL=1`) that makes Firefox use portals. However, because FirefoxPWA launches the default Mozilla-provided Firefox without setting any additional environment variables, Firefox won't use portals unless you manually enable them in `about:config`.
It seems Firefox by default never uses XDG portals, but distros with KDE instead set some environment variable (`GTK_USE_PORTAL=1`) that makes Firefox use portals. However, because FirefoxPWA launches the default Mozilla-provided Firefox without setting any additional environment variables, Firefox won't use portals unless you manually enable them in `about:config`.