linuxmint / mint-y-icons

The Mint-Y icon theme
123 stars 57 forks source link

Missing icons/links crashes Xfce and other apps #356

Closed haarp closed 1 year ago

haarp commented 1 year ago

Hello,

I've checked out f8c8c63 and put all variants from usr/share/icons/ into ~/.local/share/icons/. On my Gentoo/Xfce system (latest versions of all Xfce packages), upon selecting a Mint-Y icons theme (e.g. Mint-Y-Yaru), most applications instantly crash with errors such as:

(wrapper-2.0:409988): Gtk-WARNING **: 12:01:18.566: Error loading theme icon 'document-open' for stock: Failed to load /home/haarp/.local/share/icons/Mint-Y/actions/16/document-open.svg: Error opening f
ile /home/haarp/.local/share/icons/Mint-Y/actions/16/document-open.svg: No such file or directory

(wrapper-2.0:409988): Gtk-WARNING **: 12:01:18.566: Error loading theme icon 'image-missing' for stock: Failed to load /home/haarp/.local/share/icons/Mint-Y/actions/16/image-missing.svg: Error opening f
ile /home/haarp/.local/share/icons/Mint-Y/actions/16/image-missing.svg: No such file or directory

(wrapper-2.0:409988): Gdk-CRITICAL **: 12:01:18.566: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(wrapper-2.0:409988): GLib-GObject-CRITICAL **: 12:01:18.566: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

xfce4-appearance-settings also crashes, so undoing the damage requires editing ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml directly, followed by logging out and in again.

These icons are indeed missing. Do they need to be built first? Is it a bug somewhere? Thanks!

haarp commented 1 year ago

Solved after a git clean. I still had dark icon themes in there which were removed in 8b395de and somehow (?) caused this bug.