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 760273 - colorswatch broken after the css node conversion
colorswatch broken after the css node conversion
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkColorChooser
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 760169
 
 
Reported: 2016-01-07 14:55 UTC by Lapo Calamandrei
Modified: 2016-01-08 00:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lapo Calamandrei 2016-01-07 14:55:49 UTC
the colorswatch used to be made of two box the same size laid one on top of the other and additional gtkimage on top of it for the check graphics now it's messed up the "overlay" sims to act on the check box istead of the layer if should act on, try this out in the inspector:

colorswatch { border: 1px solid black; }
colorswatch overlay { border: 1px solid red; }

Note the double border on the colorswatch which I guess it's from
the old '.overlay' and the colorswatch itself.
Consider that with the current status of gtk css the gtkimage for the check graphic is not needed anymore since I can use the overlay background directly for it.
Comment 1 Matthias Clasen 2016-01-07 21:35:02 UTC
I've fixed the double border. You're confused about the image though - there never was a GtkImage in color swatches. That is what the overlay is for - rendering the image.
Comment 2 Matthias Clasen 2016-01-08 00:24:26 UTC
I've fixed the overlay sizing too