btd1337 / urutau-icons

The most complete icon pack for 3rd applications with elementary OS design
GNU General Public License v3.0
117 stars 5 forks source link

Issues with Flatpak Apps #7

Open arshubham opened 6 years ago

arshubham commented 6 years ago

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)
btd1337 commented 6 years ago

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

arshubham commented 6 years ago

Yeah it is there

btd1337 commented 6 years ago

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

arshubham commented 6 years ago

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

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

arshubham commented 6 years ago

@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

btd1337 commented 6 years ago

@arshubham Could you update the theme and test again?

arshubham commented 6 years ago

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

btd1337 commented 6 years ago

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.

arshubham commented 6 years ago

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)