| Summary: | Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | Bernie Innocenti <bernie> |
| Component: | gtk theme | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | agrinev98, nate, qydwhotmail, uhhadd |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.4 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Bernie Innocenti
2023-05-07 23:45:40 UTC
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 |