Some snap apps have crumbled characters in Wayland sessions

Bug #1936747 reported by corrado venturini
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
Fix Released
Undecided
Unassigned

Bug Description

Starting snap-store all the characters in the window are crumbled.
see attachment.
snap-store 3.38.0-64-g23c4c77 547 latest/stable/… canonical✓ -
corrado@corrado-n4-ii-0718:~$ snap version
snap 2.51.1+21.10
snapd 2.51.1+21.10
series 16
ubuntu 21.10
kernel 5.11.0-20-generic
corrado@corrado-n4-ii-0718:~$ inxi -SGx
System: Host: corrado-n4-ii-0718 Kernel: 5.11.0-20-generic x86_64 bits: 64 compiler: gcc v: 10.2.1
           Desktop: GNOME 40.2 Distro: Ubuntu 21.10 (Impish Indri)
Graphics: Device-1: Intel Iris Plus Graphics G1 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
           Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-6:3
           Display: wayland server: X.Org 1.21.1.1 compositor: gnome-shell driver: loaded: i915
           note: n/a (using device driver) resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 21.1.4 direct render: Yes
corrado@corrado-n4-ii-0718:~$

Tags: impish jammy
Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: snap store crumbled characters in Wayland sessions
tags: added: impish
summary: - snap store crumbled characters
+ snap store crumbled characters in Wayland sessions
Changed in snap-store-desktop:
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The settings we're failing to get on impish are:

  org.gnome.desktop.interface font-antialiasing
  org.gnome.desktop.interface font-hinting
  org.gnome.desktop.interface font-rgba-order

They're notable because they moved some time ago from:

  org.gnome.settings-daemon.plugins.xsettings antialiasing
  org.gnome.settings-daemon.plugins.xsettings hinting
  org.gnome.settings-daemon.plugins.xsettings rgba-order

which is still used on focal.

Revision history for this message
Alex Murray (alexmurray) wrote :

This seems to also affect other snaps like firefox - so I don't think this bug should be filed against snap-store-desktop - and similarly, if you install the font-manager deb in impish, this crashes on startup with:

(font-manager:227159): GLib-GIO-ERROR **: 16:12:07.589: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'

So I feel like there are some more systemic issues going on with the changes to these gsettings paths for font settings in impish.

Revision history for this message
Alex Murray (alexmurray) wrote :

I have reported the font-manager crash in https://bugs.launchpad.net/ubuntu/+source/font-manager/+bug/1937993 which is private for now whilst waiting for the retracer to try and retrace from the attached coredump.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes I was just waiting for confirmation that it was a common GTK-in-snaps problem. Looks like it would be.

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote (last edit ):

The issue seems to be resolved with the recent snap update, could people refresh and try again?

Revision history for this message
corrado venturini (corradoventu) wrote :

Resolved with snap-store 40.0-341-gb49ac9c 549
thanks

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yeah I went hunting for this bug while ISO testing last night and could not find it.

Changed in snap-store-desktop:
status: Confirmed → Fix Released
Revision history for this message
Kristof Bernaert (vanbernaert) wrote :

I have this same problem in a lot of other applications too, like Inkscape here on screenshot example.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please report the Inkscape issue to https://gitlab.com/inkscape/inbox/-/issues

summary: - snap store crumbled characters in Wayland sessions
+ Some snap apps have crumbled characters in Wayland sessions
Revision history for this message
Kristof Bernaert (vanbernaert) wrote (last edit ):

This needs to be resolved per application?
If yes I downgrade to v20 again.

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Snaps are self-contained with their own self-contained library bugs. The version of Ubuntu won't change that. But you should be able to avoid the issue by just avoiding the snap:

  sudo snap remove inkscape
  sudo apt install inkscape

Revision history for this message
Kristof Bernaert (vanbernaert) wrote :

Ow, Thanks a lot! that indeed resolves the problem. I need to read bit more what that 'snap' is doing. Not a newbie but neither an Ubuntu expert. But we make here with the company a 100% switch to opensource. It's not complicated, but this issue made us doubting.

Changed in inkscape:
status: New → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Was this actually fixed in a snap or is the above change by mistake?

no longer affects: inkscape
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If anyone encounters this issue in Inkscape, please report it to https://gitlab.com/inkscape/inbox/-/issues first and then add a comment here.

Revision history for this message
Angel D. Segarra (angel-segarra) wrote :

Should the snap-store update be in stable already? The latest stable is 547 and has this problem.

Revision history for this message
corrado venturini (corradoventu) wrote :

on Ubuntu Jammy stable version is 554 and does NOT have the problem.

Revision history for this message
Angel D. Segarra (angel-segarra) wrote :

Should have specified, this is on 21.10 and snap is tracking latest/stable/ubuntu-21.10 which is 547

Revision history for this message
corrado venturini (corradoventu) wrote :

But You have also other versions:
channels:
  latest/stable: 3.38.0-64-g23c4c77 2021-06-15 (547) 53MB -
  latest/candidate: 3.31.1+git189.991d1d1d 2021-04-20 (539) 45MB -
  latest/beta: 3.38.0-66-gbd5b8f7 2021-11-12 (558) 56MB -
  latest/edge: 40.0-341-gb49ac9c 2021-09-20 (549) 48MB -
installed: 3.38.0-64-g23c4c77 (547) 53MB -
so You may try to refresh
snap refresh snap-store --edge
or
snap refresh snap-store --beta

Revision history for this message
Angel D. Segarra (angel-segarra) wrote :

Thanks but unfortunately I don't have that flexibility. The status was changed to fix released 2 months ago, so I guess my question is: when can we expect this to land on stable/ubuntu-21.10 ?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The bug is indeed in both jammy and impish now. Seems to be a regression of a regression.

affects: snap-store-desktop → mir
no longer affects: mir
affects: ubuntu → snap-store-desktop
Changed in snap-store-desktop:
status: New → Confirmed
tags: added: jammy
Revision history for this message
corrado venturini (corradoventu) wrote :

On my Jammy i had:
channels:
  latest/stable: 3.38.0-64-g23c4c77 2021-06-15 (547) 53MB -
  latest/candidate: 3.31.1+git189.991d1d1d 2021-04-20 (539) 45MB -
  latest/beta: 3.38.0-66-gbd5b8f7 2021-11-12 (558) 56MB -
  latest/edge: 40.0-341-gb49ac9c 2021-09-20 (549) 48MB -
installed: 3.38.0-64-g23c4c77 (547) 53MB -
corrado@corrado-n4-jj-1107:~$ snap refresh snap-store --beta
snap-store (beta) 3.38.0-66-gbd5b8f7 from Canonical✓ refreshed
corrado@corrado-n4-jj-1107:~$ snap refresh snap-store --edge
snap-store (edge) 40.0-341-gb49ac9c from Canonical✓ refreshed
corrado@corrado-n4-jj-1107:~$
I see the problem with version 547 (stable) and 558 (beta) but NOT with 549 (edge)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Seems to be fixed in 558 on both jammy and impish today. If you have any problems with 558 then please open a new bug to avoid further confusion.

Changed in snap-store-desktop:
status: Confirmed → Fix Released
Revision history for this message
corrado venturini (corradoventu) wrote :

Confirm: NO PROBLEM with 558

Revision history for this message
Kristijan Žic  (kristijan-zic) wrote :

I can see this bug on Foliate and Inkscape. Can anyone tell definitely what the issue is and how to fix it?

I've created the issue for Inkscape here:
https://gitlab.com/inkscape/inbox/-/issues/5929

And the issue for Foliate here:
https://github.com/johnfactotum/foliate/issues/820

Now someone please help. :)

Revision history for this message
PabloRQ (pablo-romeroquinteros) wrote :

This bug still affects Inkscape (snap version 1.1.2-08b2f3d93c-2022-04-05 + Ubuntu 21.10).

The solution of uninstall the snap and install it with apt is not a real solution.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The Inkscape issue is tracked in https://gitlab.com/inkscape/inkscape/-/issues/2971 and the latest comment says:

> I think this is now fixed in the 1.2 candidate snap with the newer
> GTK libraries. Could folks give it a try? Thanks!
>
> snap refresh --candidate inkscape

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.