Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Flatpak Apps #7

Open
arshubham opened this issue Mar 11, 2018 · 9 comments
Open

Issues with Flatpak Apps #7

arshubham opened this issue Mar 11, 2018 · 9 comments
Labels

Comments

@arshubham
Copy link

arshubham commented Mar 11, 2018

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 btd1337 added the bug label Mar 11, 2018
@btd1337
Copy link
Owner

btd1337 commented Mar 11, 2018

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
Copy link
Author

Yeah it is there

@btd1337
Copy link
Owner

btd1337 commented Mar 11, 2018

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

@arshubham
Copy link
Author

arshubham commented Mar 11, 2018

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

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

@arshubham
Copy link
Author

arshubham commented Mar 13, 2018

@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
Copy link
Owner

btd1337 commented Jul 3, 2018

@arshubham Could you update the theme and test again?

@arshubham
Copy link
Author

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

@btd1337
Copy link
Owner

btd1337 commented Jul 5, 2018

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
Copy link
Author

arshubham commented Jul 5, 2018

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants