After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686703 - Scale slider background image dissapears when 'color' is set
Scale slider background image dissapears when 'color' is set
Status: RESOLVED DUPLICATE of bug 686280
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-10-23 12:17 UTC by Manuel Quiñones
Modified: 2012-10-25 22:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Manuel Quiñones 2012-10-23 12:17:27 UTC
In Sugar theme we have a background image for the scale slider, like Adwaita:

.scale.slider {
    background-color: transparent;
    background-image: url("assets/scale-slider.svg");
}

In a specific window the slider image was not visible.  This window inherits GtkWindow.  Turned out 'color' rule in that window was the problem: 

SugarPaletteWindowWidget {
    color: @white;
}

The fix was:

SugarPaletteWindowWidget .slider {
    color: transparent;
}

Looks like a bug to me.
Comment 1 Cosimo Cecchi 2012-10-25 21:48:41 UTC
I'm pretty sure what you're seeing is bug 686280, which I fixed in the master and gtk-3-6 branches (these commits [1] and [2]) - the fixes are not yet in a 3.6 stable release tarball, but they will be in 3.6.2 when it's out.

I'm going to close this bug as a duplicate, but please reopen if you can test the referenced commits. Thanks.

[1] http://git.gnome.org/browse/gtk+/commit/?id=ef027c93d49e2e31ccb8c181d0096c705c141906
[2] http://git.gnome.org/browse/gtk+/commit/?id=ad22a1faf6d3d3df0148c85127dc0048d9bbcd91

*** This bug has been marked as a duplicate of bug 686280 ***
Comment 2 Manuel Quiñones 2012-10-25 22:00:36 UTC
Thanks Cosimo, haven't find time to check by myself yet, but will do.