kenvandine / leafpad-snap

1 stars 0 forks source link

Crash on Groovy #1

Open monochromec opened 3 years ago

monochromec commented 3 years ago

snap info leafpad

name: leafpad summary: GTK+ based simple text editor publisher: Ken VanDine store-url: https://snapcraft.io/leafpad license: unset

snap run leafpad update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1506/share/gtk2/Materia-compact /snap/leafpad/79/share/themes/Materia-compact none bind,ro 0 0): cannot write to "/snap/gtk-common-themes/1506/share/gtk2/Materia-compact" because it would affect the host in "/snap" update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1506/share/gtk2/Materia-dark-compact /snap/leafpad/79/share/themes/Materia-dark-compact none bind,ro 0 0): cannot write to "/snap/gtk-common-themes/1506/share/gtk2/Materia-dark-compact" because it would affect the host in "/snap" /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) Warning: GTK2 does not support Wayland!

Let me know if more info is needed.

kenvandine commented 3 years ago

This is do to a Mutter bug in GNOME 3.38, https://gitlab.gnome.org/GNOME/mutter/-/issues/1454

There is a fix that hasn't made it into Groovy yet but should this week.

To work around it you should be able to force it to fallback to Xwayland by running it with "DISABLE_WAYLAND=1 snap run leafpad"