Firefox Snap Testing 2021-2022

well, none of these three are new issues and all are being worked on (you can follow this in the https://forum.snapcraft.io forum and on the respective bugs), 22.04 is still two months away (and along with this snap packages are not bound to the underlying OS at all, so fixes will constantly flow in even after release)…

mozilla explicitly asked for this change and i think this should be respected …

4 Likes

@osomon I am not on the stable channel but the good news is that the problem was still there with 97b3 but got fixed apparently in the meantime.

All is fine now, thank you a lot :pray:

And sorry for the late response. I wrote it but I seem to have forgotten to send it.

The Ubuntu MATE QA team have reported that the Firefox snap doesn’t function in a Guest Session:

2 Likes

Firefox (snap and flatpak) crashes after wakeup when an extension like ubuntu-dock or dash-to-panel is enabled. Works fine without those extensions.

Also the tabs do not seem to be draggable.

2 Likes

All these problems are still here in Ubuntu 22.04 with Wayland session:
https://bugzilla.mozilla.org/show_bug.cgi?id=1747641
https://bugzilla.mozilla.org/show_bug.cgi?id=1748873
https://bugzilla.mozilla.org/show_bug.cgi?id=1710344

2 Likes

Hi everyone,
I can see that with Firefox snap we can use /etc/firefox/policies folder to store company policies (as explained here How to customize the firefox snap with enterprise policies)
I was able to get some policies applied but I am not able to install any certificates in Firefox certificate store as explained here https://github.com/mozilla/policy-templates/blob/master/README.md#certificates--install
I tried using only filename with certificates installed in /usr/lib/mozilla/certificates but also a full path to certificates I put in /etc/firefox/certificates folder. No luck in both cases :frowning:
Anybody knows where I should put the certificates I want to be added to Firefox certificate store automatically ?

You will need to put the certificates in a place where the snap can see them, e.g. a sub-folder under /etc/firefox/policies, or under $SNAP_COMMON (which resolves to /var/snap/firefox/common/).

1 Like

Has anyone been able to understand the issue reported here: https://www.reddit.com/r/Ubuntu/comments/ttpf1h/snap_firefox_vs_official_firefox_from_their_site/?

I know it is not a snap issue, but it won’t stop people from pointing fingers to snap nonetheless. And it is a real issue that Mozilla should address.

1 Like

thanks @oSoMoN , I managed to get this working by adding the full path in policies.json to my certificates installed in /etc/firefox/policies/certificates/ folder I created.

1 Like

NTLM SSO (Single-Sign-On) won’t work with snap version.
I had to uninstall snap and install classic version according to this article: https://ubuntuhandbook.org/index.php/2022/04/install-firefox-deb-ubuntu-22-04/
to bring back SSo functionality.

did you file a bug with logs and snappy-debug output so this can be fixed (after all i assume reporting bugs and testing to improve the release is the reason users use an alpha or beta release) ?

2 Likes

There is already issue filed regarding SSO: https://bugzilla.mozilla.org/show_bug.cgi?id=1696095. 21.10 was not alpha nor beta release. Revert to classic deb package was much simpler in 21.10, but fortunately we still have option to revert it in 22.04.

Here’s an example of the video output glitching out:
https://youtube.com/shorts/kPZ7Q51Lr0g?feature=share

snap run firefox
in x2go (from the nigtly x2go PPA, using X2GoKDrive or not) on XFCE / 22.04 returns
/user.slice/user-1000.slice/session-N.scope is not a snap cgroup
where N is a low integer.
Firefox does not start.

It seems that modal windows in Firefox don’t follow the light/dark theme preference.

I reported the bug here: https://bugzilla.mozilla.org/show_bug.cgi?id=1766339

Keyboard layout with dead keys not working either (English intl with AltGr dead keys) in the snap, while it works in other GNOME applications.

Make sure that xdg-desktop-portal-gnome is installed. I don’t think the other portals support the light/dark theme yet. It’s not a Firefox issue since the save dialog isn’t provided by Firefox itself.

1 Like

It is installed, I just checked.

Should I report the bug against that package on launchpad? Can anyone else reproduce the bug or is a problem on my install?

Bug reported against xdg-desktop-portal here: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1970489

Sorry if this was already discussed. I notice that firefox is using an old version of mesa when running snapped. In about:support I get Mesa 21.0.3 (almost a year old and unsupported), while the default 22.04 install brings Mesa 22.0.1.

It is not a problem for my PC as far as I can see, but it may be a problem for people using newer GPUs.