News for hackers. Stuff that matters.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by dessant on Saturday September 05, 2020 @11:12AM (#24384111)
I've been getting bug reports for a browser extension because of Snap. The file system isolation of Snap and Flatpak breaks Native Messaging, so extensions that need to communicate with a local app, such as password managers, are now broken.

https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+...

Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by codethief on Saturday September 05, 2020 @11:18AM (#24384167)
I had totally forgotten about this! For me it wasn't just the extensions. The font in the "Save Download As…" dialog in the Chromium snap, for instance, has been completely broken for me – all characters get displayed as the infamous glyph-not-found block. To make things worse, the dialog by default suggests some random directory deep inside the snap tree as download destination. Good luck navigating to a folder where you'll find your download again, given that you can't read any of the file or folder names…
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by berkes on Saturday September 05, 2020 @12:53PM (#24384973)
I've been using Linux for over 14 years exclusively. Build several linux hosting companies. I know Linux rather well. I've built a simple font manager for gnome in the past. I know the weirdness of gnome font thingies.

I've had this glyph issue for over a year. In chromium, Signal, some ebook app, and several other snaps.

I've tried many things. But gave up. Snap is not 'one layer of indirection' too much. It's hundreds of them. There's chroot, some VM, a virtual gnome, containerisation, weird user and permissions. And so on.

This complexity made me conclude that snap is a bad solution (to a real problem). Not the glyph issue, but the fact that I cannot fix it, is, for me, the reason to conclude it has, or will fail.

Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by codethief on Saturday September 05, 2020 @01:30PM (#24385303)
Wait, since when is Signal a Snap app?
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by Spooky23 on Saturday September 05, 2020 @04:12PM (#24386528)
Snap is more like a virtualization tool that you see in VDI and Citrix environments.

It’s sets out to solve a couple of problems in an app-focused way. As with any packager that packages dependencies, it introduces a few dozen more in the process.

Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by kohtatsu on Saturday September 05, 2020 @01:55PM (#24385481)
Snap is a distribution format, akin to .msi or .pkg.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by yc-kraln on Saturday September 05, 2020 @03:56PM (#24386428)
No, incorrect. Snap is a distribution format akin to VMDK or anything else which is not intended to be "installed" to a system, but rather run in a virtual machine or sandboxed.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by SahAssar on Saturday September 05, 2020 @04:47PM (#24386730)
If we are getting into details I think calling it a "virtual machine" is not correct either. Also since snaps have some integration with the host DE through launchers and so on they are not like VMDK's.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by efreak on Sunday September 06, 2020 @02:40AM (#24389471)
To be even more pedantic, there's nothing stopping you from using VMDK (or other disk images like VDI, VHD, raw/dd, etc) files as a container (like tar or zip), other than some extra overhead. They can easily integrate into your desktop environment, possibly even easier since there's probably more support for mounting disk images than there is for mounting archives...
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by SahAssar on Sunday September 06, 2020 @05:31AM (#24390135)
Well, a squashfs file is already a disk image, so that's pretty much what they are doing.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by sunnysigara on Sunday September 06, 2020 @04:45AM (#24389973)
Snap is already a standard in the IOT world. It's the desktop section in which it struggles.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by julianlam on Saturday September 05, 2020 @10:34PM (#24388530)
Right! I ran into this not five minutes into a new 20.04 install and could not for the life of me figure out where the hell my download was, or why I couldn't access /home/julian/Downloads

Why this isn't more of a deal breaker I have no freaking idea.

Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by Zardoz84 on Saturday September 05, 2020 @03:16PM (#24386142)
This could be related to Why Chrome is using a different font size that the rest my system. Chrome is the only snap program that I have . The rest are plane Debian packages or Flatpack
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by rbanffy on Saturday September 05, 2020 @12:19PM (#24384692)
I'm not a fan of Snap, but I'm surprised something like this font issue passed QA.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by rrdharan on Saturday September 05, 2020 @01:32PM (#24385324)
I think you overestimate the amount of QA resources available to the Ubuntu project. Looks like this was an issue that only happened after repeated use and seems somewhat related to individual systems' font configurations?

There's more info here: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+...

Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by rbanffy on Saturday September 05, 2020 @05:41PM (#24387076)
I hope they conduct automated testing with screengrabs for high profile apps such as Chromium (that have something to gain from the snap isolation) and that the test cases have this added.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by jlgaddis on Monday September 07, 2020 @06:03PM (#24403326)
> I think you overestimate the amount of QA resources available to the Ubuntu project.

  s/available to/allocated by/
I don't know that Canonical cares too much about doing QA themselves. It seems like they've decided to delegate that to the userbase.
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by hatsunearu on Saturday September 05, 2020 @12:20PM (#24384699)
Snap programs won't let me access /tmp/ which is really annoying ;(
Re:Ubuntu 20.04 LTS’ snap obsession has snapped me off of it by axaxs on Saturday September 05, 2020 @05:17PM (#24386906)
Yeah, and I can find no way to either modify the fs or at least mount out. Opera, I think it is, requires codecs be installed in a specific directory. So, the snap is effectively useless.