Feature Freeze Exception: Seeding the official Firefox snap in Ubuntu Desktop

Regarding the ugly fonts I have submitted on Snapcraft but it seems to have not really been answered yet.

2 Likes

Just checked FF snap on my machine and animations and videos don’t load the CPU – very nice!

4 Likes

If this is not documented, it should. If it already is, do you have a link handy? We should share this more.

It will be documented when we make the feature non-experimental, we could probably start writing that documentation now though and just not publish it on the docs site and just leave it on the forum until it’s ready

I respect the decision to switch Firefox in Ubuntu from a .deb to a Snap.

However, I do not wish to use Snaps, or Flatpaks, on my computer. Therefore, I will be switching to a different browser.

2 Likes

I do use snaps on all of my Ubuntu installations but I’ve yet to be convinced that large desktop applications such as Chromium, Firefox, Thunderbird and LibreOffice are ready for inclusion into Ubuntu releases as snaps. I’ve seen too many reports of problems which seem to confirm this.

Ok, so we’ve been here before with the Chromium browser:

I’m not going to trawl through all the bug reports and Discourse posts but I seem to remember that it was the intention that most if not all of the bugs relating to the change would be fixed before the next LTS was released, i.e. Ubuntu 20.04. Obviously they weren’t as looking through the list of Chromium bugs which have been tagged as being related to the snap I see that there are 69 currently outstanding. Some of these reports were raised over three years ago:

https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap&orderby=id&start=0

Most users won’t care whether their issue is the fault of Firefox or snapd. I’ve tested the most recent stable snap and it appears to work well. I hope that when the change is made to a user’s system settings from their existing .deb installation are migrated. At that point I’ll do a more thorough check of Firefox’s integration into Ubuntu.

will no doubt be the most reported issue by GNOME users. This was first reported in January 2018 and will of course affect many Firefox users which I am sure greatly outnumber Chromium users.

On that basis I’m hoping that the Firefox transition to a snap will be more successful than the Chromium transition otherwise support sites will just advise users with issues to download Firefox directly from https://www.mozilla.org/ which is obviously not what Ubuntu and Mozilla are wanting.

These days I contribute to Ubuntu much less than I used to but I’ll certainly raise any issues that I might find or confirm any existing issues once the migration has been enabled.

2 Likes

My point isn’t to compare the deb to the snap, it’s to suggest that it doesn’t make sense to tout snap security for this particular snap when the profile itself points out that it’s possible to completely escape confinement with the power handed to it for its sandbox. If that’s true, dot file protection etc. can be bypassed as well. Right?

Interesting idea. That could even use the same slot, just different options, huh.

how would that work ?

seccomp and apparmor are two completely unrelated mechanisms …

while the syscall filtering might be weakened by allowing sys_admin capability (which really doesnt gain you much unless your user also has the correct privs to do something with whatever you try to apply it to), filesystem filtering based on apparmor is still fully in place …

It could be that your GPU is blacklisted by default because of known issues in the driver.
You could try changing the layers.acceleration.force-enabled setting to true in about:config and restarting firefox. Is HW_COMPOSITING enabled afterwards?

I feel like Gollum now. What’s the result?

image

It looks like the preference is being honoured, that’s a step in the right direction. What’s the CPU/GPU usage like on e.g. http://webglsamples.org/aquarium/aquarium.html ?

1 Like

Mmmh. :slight_smile:

If you’re in a wayland session, that’s most likely bug #1726510, which is actively being investigated.

Ok!
I see the fishes in FF deb.

1 Like

As a KeePassXC user, curious if a solution to this issue (https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1741074 (see #19)) is on the way since the KeePassXC browser extension will not currently work with the firefox snap.

2 Likes

I am using the firefox snap since over a year and there are only two issues I have noticed:

  1. it can’t connect to chrome-gnome-shell to install gnome extensions
  2. when the background update of the snap completes it can make firefox hard crash

Apart from this no downsides :+1: I prefer it because you are more up-to-date than with the deb

3 Likes

this is solved with:

sudo snap set system experimental.refresh-app-awareness=true

as mentioned above …

4 Likes

Is the issue with temporary files fixed yet? Especially if the app that it wants to open is another snap? Seems that issue with temp files is now resolved. Just tried to download a document and open directly to LibreOffice.

And I’m gonna miss the Plasma integration add on… :sob:

Also, what about what happens when the Firefox snap crashes? When I want it restarted, the themes don’t work, and had to manually launch it again for it to work.

Ok so I included this in Snap Manager GS extension.
:grin:
https://extensions.gnome.org/review/download/26442.shell-extension.zip
(being reviewed)

1 Like

On 20.04, I maintain a PPA for my own builds of Firefox, where I apply a couple patches that upstream refuses to accept. Every few weeks, always on weekend, I check if there is a new upstream version, download the source package, update my patches, and upload the result to Launchpad. When the build finishes, I update my local installations.

What do I do when Firefox moves to snap? I am concerned that I may have to maintain the deb packaging for my PPA.