urutau-icons icon indicating copy to clipboard operation
urutau-icons copied to clipboard

Issues with Flatpak Apps

Open arshubham opened this issue 6 years ago • 9 comments

Flatpak Apps crash on open and or if already open.

flatpak run ca.desrt.dconf-editor 
Gtk-Message: Failed to load module "pantheon-filechooser-module"

(dconf-editor:2): Gtk-WARNING **: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/host/share/icons/urutau-icons/status/16/image-missing.svg: Error opening file /run/host/share/icons/urutau-icons/status/16/image-missing.svg: No such file or directory (g-io-error-quark, 1)

arshubham avatar Mar 11 '18 12:03 arshubham

About the error message:

Failed to load /run/host/share/icons/urutau-icons/status/16/image-missing.svg: Error opening file /run/host/share/icons/urutau-icons/status/16/image-missing.svg: No such file or directory

Note that the Urutau points to the elementary theme's original icon. Can you confirm that you have this icon?

screenshot from 2018-03-11 10-49-08

btd1337 avatar Mar 11 '18 13:03 btd1337

Yeah it is there

arshubham avatar Mar 11 '18 13:03 arshubham

Please test this with elementary icon theme and comment the result.

btd1337 avatar Mar 11 '18 14:03 btd1337

It is working fine with every icon theme except this one.

edit: if this theme inherits elementary is there need of a symlink?

arshubham avatar Mar 11 '18 14:03 arshubham

@quassy any ideas why this is happening. I narrowed it down to the status and mimetype icons. If I keep either in the flatpak apps crash

arshubham avatar Mar 13 '18 15:03 arshubham

@arshubham Could you update the theme and test again?

btd1337 avatar Jul 03 '18 13:07 btd1337

@btd1337 The issue still exists. I tested on juno beta1

arshubham avatar Jul 04 '18 12:07 arshubham

Is Your icon-pack here /run/host/share/icons/?

Because the theme is installed in ~/.icons/urutau-icons or /usr/share/icons/urutau-icons

Check this please.

btd1337 avatar Jul 05 '18 00:07 btd1337

On putting icon theme in ~/.icons and launching flatpak I get

$ flatpak run org.gnome.Builder 
Gtk-Message: 14:17:14.313: Failed to load module "pantheon-filechooser-module"

(gnome-builder:2): Gtk-WARNING **: 14:17:15.334: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/shubhamarora/.icons/urutau-icons/status/16/image-missing.svg: Error opening file /home/shubhamarora/.icons/urutau-icons/status/16/image-missing.svg: No such file or directory (g-io-error-quark, 1)

and for libreoffice (I get the launch dialog momentarily here)

$ flatpak run org.libreoffice.LibreOffice 
Gtk-Message: Failed to load module "pantheon-filechooser-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

(soffice:14): Gtk-WARNING **: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/shubhamarora/.icons/urutau-icons/status/16/image-missing.svg: Error opening file /home/shubhamarora/.icons/urutau-icons/status/16/image-missing.svg: No such file or directory (g-io-error-quark, 1)
Application Error

Although flatpak run ca.desrt.dconf-editor launches correctly

When I put the theme in /usr/share/icons even dconf-editor gives error

$ flatpak run ca.desrt.dconf-editor 
Gtk-Message: 14:20:55.601: Failed to load module "pantheon-filechooser-module"

(dconf-editor:2): Gtk-WARNING **: 14:20:56.001: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/host/share/icons/urutau-icons/status/16/image-missing.svg: Error opening file /run/host/share/icons/urutau-icons/status/16/image-missing.svg: No such file or directory (g-io-error-quark, 1)

arshubham avatar Jul 05 '18 08:07 arshubham