Solid color instead of background image when using FlatStudio gtk themes.

Bug #1458330 reported by Narf
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
LightDM GTK Greeter
Fix Released
Undecided
Unassigned

Bug Description

In 2.0.1 of lightdm-gtk-greeter, when the gtk theme is set to FlatStudio (any variant) and background to some image, the image is not shown and instead solid color is visible. It doesn't happen with e.g. Adwaita.
The commit that introduced this problem is http://bazaar.launchpad.net/~kalgasnik/lightdm-gtk-greeter/post-2.0.0/revision/323
I checked the theme files and found that the solid color is generated b the following lines:

* {
    /* inherit the color from parent by default */
    color: inherit;
    background-color: @theme_bg_color;
}

This is in file gtk-widgets.css in FlatStudio. Changing the background-color property here changes the solid color seen instead of the background. So my guess is, there's a fullscreen window on top of the wallpaper which is themed by this line.

I've attached an image showing the problem, left side is with FlatStudioDark, right with Adwaita, for comparison.

Related branches

Revision history for this message
Narf (rat-o-drat) wrote :
Revision history for this message
Sigz (sigz) wrote :
Revision history for this message
Narf (rat-o-drat) wrote :

That's right, Boje is also affected, and if you extract gtk-widgets.css, you'll see (starting from line 56) the same thing as in case of FlatStudio:
* {
        /* inherit the color from parent by default */
        color: inherit;
        background-color: @theme_bg_color;
}

Revision history for this message
Andrew P. (kalgasnik) wrote :

Could you test proposed branch?

Revision history for this message
tmp (tompicton) wrote :

I switched to the Bazaar package in the AUR and the latest version has fixed this bug for me.

Revision history for this message
sigz (dbox-2) wrote :

BZR package from AUR fixed the issue for me too

Sean Davis (bluesabre)
Changed in lightdm-gtk-greeter:
milestone: none → 2.0.2
status: New → 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.