This started a month ago, but I only had time to debug it now. sorry!
When starting any gtk4 application (tested with door-knocker and easyeffects edit: easyeffects has switched to Qt6 since) with any Arc theme enabled, it will spew the following error twice:
Gtk-WARNING **: 13:18:22.265: Theme parser error: gtk.css:1:1-66: Failed to import: The resource at “/org/gnome/arc-theme/gtk-main-dark.css” does not exist
looking in gtk.css reveals the following statement: @import url("resource:///org/gnome/arc-theme/gtk-main-dark.css"); which seems to be correct. as I understand it, this resource should be loaded from gtk.gresource in the same folder. using gresource list on that file confirms that it indeed contains the requested file.
I have honestly zero idea why this stopped working or how to fix it. Mostly because I cannot find any documentation for this stuff. I assume the gresource file is supposed to be auto-loaded (somehow) but isn't because gtk4 changed how autoloading works (for some reason). pure speculation tho, again, no idea.
I will continue to try debugging this, but I doubt I can get to any meaningful conclusion.
| Incorrect |
Correct |
Default Theme |
 |
 |
 |
This started a month ago, but I only had time to debug it now. sorry!
When starting any gtk4 application (tested with door-knocker
and easyeffectsedit: easyeffects has switched to Qt6 since) with any Arc theme enabled, it will spew the following error twice:Gtk-WARNING **: 13:18:22.265: Theme parser error: gtk.css:1:1-66: Failed to import: The resource at “/org/gnome/arc-theme/gtk-main-dark.css” does not existlooking in
gtk.cssreveals the following statement:@import url("resource:///org/gnome/arc-theme/gtk-main-dark.css");which seems to be correct. as I understand it, this resource should be loaded fromgtk.gresourcein the same folder. usinggresource liston that file confirms that it indeed contains the requested file.I have honestly zero idea why this stopped working or how to fix it. Mostly because I cannot find any documentation for this stuff. I assume the gresource file is supposed to be auto-loaded (somehow) but isn't because gtk4 changed how autoloading works (for some reason). pure speculation tho, again, no idea.
I will continue to try debugging this, but I doubt I can get to any meaningful conclusion.