Adwaita CSS warnings causing massive .xesssion-errors spew
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-themes-standard (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The Adwaita theme in Qantal seems to have a lot of invalid CSS, this is causing a huge number of warnings to stderr, and hence .xsession-errors. Some examples:
> (empathy:6862): Gtk-WARNING **: Theme parsing error: nautilus.
> (gnome-
> (empathy:6862): Gtk-WARNING **: Theme parsing error: gnome-panel.
> (gnome-
> Window manager warning: Log level 16: Theme parsing error: gtk-widgets.
> Window manager warning: Log level 16: Theme parsing error: gtk-widgets.
> Window manager warning: Log level 16: Theme parsing error: gtk-widgets.
I just upgraded to Qantal today and after an afternoon's worth of use, my .xsession-errors is 80Mb big, these messages constitute a non-trivial part of that.
tags: | added: quantal |
haven't dug into the underlying engine but found a couple of items that are related and could be patched on either the engine or the theme side -- got tired of seeing all the errors so I tinkered with the css for a few minutes
when using 0 as a size in standard css it is rendered as 0px
when 0 is found in a gtk theme it raises an error
patch: replace all 0; and 0 (0 space) with 0px
text-shadow: this one is just funky -- haven't been able to find a setting that doesn't raise an error besides commenting out
box-shadow: same
documentation says that the shadow setting support the inset function only -- doesn't seem true since no matter how I adjust them they keep raising errors
not a great help but might provide a pointer for someone else getting tired of huge error log files
themes are located in /usr/share/themes/
you can grep | sed the updates globally or edit manually (safer)
recap: replace any size reference of 0 to 0px -- comment out all text-shadow & box-shadow lines
doesn't fix the bugs but makes the parsing engine happier