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

Bug #1356386 reported by quequotion on 2014-08-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
elementary Stylesheet
Fix Released
Undecided
Daniel Fore

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;

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
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
Daniel Fore (danrabbit) on 2014-11-09
Changed in egtk:
status: Incomplete → Fix Committed
milestone: none → freya-beta2
assignee: nobody → Daniel Fore (danrabbit)
Daniel Fore (danrabbit) on 2015-02-10
Changed in egtk:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers