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 707506 - grey BG instead of selected BG
grey BG instead of selected BG
Status: RESOLVED DUPLICATE of bug 697235
Product: nautilus
Classification: Core
Component: Desktop
3.8.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-09-04 20:27 UTC by Gene Czarcinski
Modified: 2013-09-05 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gene Czarcinski 2013-09-04 20:27:14 UTC
With the file manager (nautilus) handling the desktop on
(org.gnome.desktop.background.show-desktop-icons is enabled) and selection of some themes for the Gtk+ theme will result in the background is grey.  If the file manager is NOT handling the desktop, then the selected background is correctly displayed.

Note:  So far as I can tell, only the Adwaita, Zukitwo, Zukiwi, and Greybird gtk3 themes do not have the problem.

All themes work just fine on Fedora 18 with Gnome-shell 3.6.3.1 and nautilus 3.6.3 but do not work on Fedora 19 with Gnome-shell 3.8.4 and nautilus 3.8.2

I have experimented with some of the themes that do not work and identified that the problem occurs when code similar to the following is specified in their gtk-3.0/gtk-widget.css file:
---------------------------------------
* {
	/* inherit the color from parent by default */
	color: inherit;
	background-color: @bg_color;
}
---------------------------------------

Replacing this with something like:
---------------------------------------
.background {
    background-color: @theme_bg_color;
    color: @theme_fg_color;
}

.background.client-decorated {
    background-color: transparent;
}

.background.window-content {
    background-color: @theme_bg_color;
    color: inherit;
}
----------------------------------------

and things work just fine.

The themes did not change but gnome-shell and nautilus sure did.
Comment 2 António Fernandes 2013-09-05 00:05:54 UTC
(In reply to comment #1)
> This is the fourth attempt to get this problem recognized.  The previous
> attempt were:
> https://bugzilla.gnome.org/show_bug.cgi?id=697235

Commenting on the original report would have been just fine. Even if it has been marked as "RESOLVED", it can always be changed back if needed. There was no need to open a new report, but thank you for providing the link to the original context.

If you don't mind it, I think it would be better to mark this as a duplicate of 697235, for the sake of keeping track of this topic in one single place.

(In reply to comment #0)
> The themes did not change but gnome-shell and nautilus sure did.

Do you mean this change? https://git.gnome.org/browse/nautilus/commit/?id=f0f36c876e4810b190a82e3a953d9263c106447f

Looking at the commits log of gnome-themes-standard, I didn't find any change made to Adwaita because of this change to nautilus. The theme "just worked", so I think nautilus is not to be blamed for some themes breaking; it may have just made it very visible, something that was already broken before.

The themes probably needed to be updated because there was some change on the gtk+ side. What makes me believe so are these changes which were made to Adwaita (months before nautilus desktop changed):
https://git.gnome.org/browse/gnome-themes-standard/commit/?id=0019a41584317e73cdd3e3c06c8b2f0ce1978a21
https://git.gnome.org/browse/gnome-themes-standard/commit/?id=127d02f515dc5daa4e0af967c85030415dbf95e6

Feel free to correct me if my interpretation is wrong, as I don't know much about theming issues.
Comment 3 Gene Czarcinski 2013-09-05 14:36:42 UTC
Nope.  I believe your interpretation is spot on!  The comment that setting the background color in a wildcard selector is not needed is not quite accurate ... it really causes problems.

I would have thought that this interface "rule change" would have gotten more publicity since all of the other themes needed to change too.

Thank you for providing the needed information.  I am now closing this.

*** This bug has been marked as a duplicate of bug 697235 ***