neeeeow / Bluecurve

Red Hat Bluecurve theme for GTK 3
GNU General Public License v3.0
72 stars 4 forks source link

Multiple issues prevent applications from starting #13

Closed savchenko closed 1 month ago

savchenko commented 1 month ago

wofi crashes on startup:

(wofi:2008): Gtk-WARNING **: 15:07:48.475: Theme parsing error: <data>:5:10: 'overflow' is not a valid property name

(wofi:2008): Gtk-WARNING **: 15:07:48.475: Theme parsing error: <data>:9:10: 'overflow' is not a valid property name

(wofi:2008): Gtk-WARNING **: 15:07:48.478: Theme parsing error: gtk-style.css:127:18: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(wofi:2008): Gtk-WARNING **: 15:07:48.509: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/user/.icons/Bluecurve/16x16/stock/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/user/.icons/Bluecurve/16x16/stock/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

Aborted (core dumped)

Firefox emits the following in the stdout:

(Firefox-esr:2038): Gtk-WARNING **: 15:08:06.700: Theme parsing error: gtk-style.css:127:18: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(Firefox-esr:2038): Gtk-WARNING **: 15:08:06.771: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/window-minimize-symbolic.symbolic.png.
This may indicate that pixbuf loaders or the mime database could not be found.
[Parent 2038, Main Thread] WARNING: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed: 'glib warning', file ./toolkit/xre/nsSigHandlers.cpp:167

(Firefox-esr:2038): Gdk-CRITICAL **: 15:08:06.771: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
[Parent 2038, Main Thread] WARNING: g_object_unref: assertion 'G_IS_OBJECT (object)' failed: 'glib warning', file ./toolkit/xre/nsSigHandlers.cpp:167

KeepassXC (relies on qt5ct) errors with:

(keepassxc:4942): Gtk-WARNING **: 15:18:28.842: Error loading theme icon 'gtk-ok' for stock: Unrecognized image file format

(keepassxc:4942): Gtk-WARNING **: 15:18:28.844: Error loading theme icon 'document-open' for stock: Unrecognized image file format

(keepassxc:4942): Gtk-WARNING **: 15:18:28.845: Error loading theme icon 'document-save' for stock: Unrecognized image file format

(keepassxc:4942): Gtk-WARNING **: 15:18:28.845: Error loading theme icon 'gtk-cancel' for stock: Unrecognized image file format

(keepassxc:4942): Gtk-WARNING **: 15:18:28.846: Error loading theme icon 'window-close' for stock: Unrecognized image file format
neeeeow commented 1 month ago

Warnings related to the :insensitive class are expected; whilst it is deprecated it's the only way to have Metacity correctly detect the theme colors.

The warnings related to the icon theme are likely just due to some dodgy symlinks, I'll investigate this at some point.

I'm not sure what is causing the crashes. Are they GTK 3 or 4 applications? The crash references some overflow property, but this property is never mentioned in the theme. Is this issue only present on this theme? Part of me fails to understand how a GTK 3/4 theme can completely crash an application.

neeeeow commented 1 month ago

I have done some research, the crash was due to pixbuf being unable to load the icon theme correctly.

This is not an issue with the theme itself, but an issue with pixbuf. The icons it is failing to load are all present and in a supported format.

If you Google the error there are tons of suggested fixes for it.

I'll close this issue since it's not an issue with the theme.