Gtk-WARNING **: Theme parsing error: gtk-widgets.css:784:29: '1px' is not a valid color name

Bug #1356386 reported by quequotion
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
elementary Stylesheet
Fix Released
Undecided
Danielle Foré

Bug Description

Comparing the line causing a warning to the line above it:

gtk-widgets.css
783: box-shadow: 0 1px 0 1px alpha (#000, 0.30);
784: text-shadow: 0 1px 0 1px alpha (#000, 0.30);

Looks like a copy-and-paste error.

According to gnome's specification:
https://developer.gnome.org/gtk3/stable/GtkCssProvider.html#GtkCssSectionType

box-shadow may take up to five arguments:
box-shadow: [ inset ] horizontal_offset vertical_offset blur_radius color;

text-shadow only takes up to four:
text-shadow: horizontal_offset vertical_offset [ blur_radius ] color;

Revision history for this message
quequotion (quequotion) wrote :

This isn't causing any problems by the way, just causing a warning when opening gtk applications from the terminal.

description: updated
Revision history for this message
Cody Garver (codygarver) wrote :

I tried a few apps and didn't get this warning, what apps produce it?

Changed in egtk:
status: New → Incomplete
Changed in egtk:
status: Incomplete → Fix Committed
milestone: none → freya-beta2
assignee: nobody → Daniel Fore (danrabbit)
Changed in egtk:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.