SUMMARY On startup, all GTK-3 apps print a bunch of warnings when using the Breeze theme: bernie@giskard:~[1]% eog (eog:157555): Gtk-WARNING **: 16:43:47.616: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name (eog:157555): Gtk-WARNING **: 16:43:47.616: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name (eog:157555): Handy-WARNING **: 16:43:47.691: Using GtkSettings:gtk-application-prefer-dark-theme together with HdyStyleManager is unsupported. Please use HdyStyleManager:color-scheme instead. (eog:157555): Gtk-WARNING **: 16:43:47.696: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 38 with Plasma 5.27.4 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105 Qt Version: 5.15.9
I don't see this with Gedit. Can you provide an example of an app that reproduces the issue?
The app I used for this bug's description was eog, but I get similar output from gedit: ``` bernie@giskard:~% gedit (gedit:26024): Gtk-WARNING **: 02:36:48.122: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name (gedit:26024): Gtk-WARNING **: 02:36:48.122: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name ```
.config/gtk-3.0/gtk.css contains only this one line: ``` @import 'colors.css'; ``` The offending lines seem to be from /usr/share/themes/Breeze/gtk-3.0/gtk.css 1649 and 1652: ``` 1648 .normal-icons { 1649 -gtk-icon-size: 16px; } 1650 1651 .large-icons { 1652 -gtk-icon-size: 32px; } ```
The message seems to come from gtk3-3.24.37-1.fc38.x86_64
I'm a bit confused here. "gtk-icon-sizes" is described as deprecated at https://docs.gtk.org/gtk3/property.Settings.gtk-icon-sizes.html, but "-gtk-icon-size" is mentioned as a thing in https://docs.gtk.org/gtk4/enum.IconSize.html.
Fixed in 5.27.5