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 583757 - Unconditionally fades in background
Unconditionally fades in background
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: background
2.26.x
Other All
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
: 632081 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-05-25 00:12 UTC by Josh Triplett
Modified: 2010-12-01 08:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Josh Triplett 2009-05-25 00:12:54 UTC
Please describe the problem:
Since upgrading to 2.26.0, gnome-settings-daemon now fades in the
background rather than just drawing it immediately.  I find this
behavior very annoying.  As far as I can tell, no way exists to turn
this behavior off, either, short of either editing the source
(plugins/background/gsd-background-manager.c, on_bg_changed, change the
second argument of draw_background to FALSE) or turning off
gnome-settings-daemon's background handling entirely.

I'd really like to see some option I can use to disable this fading.
Actually, I'd really like to see this disabled by default, for the same
reasons that gnome-session disabled the splash screen by default, but
I'll settle for an option I can use to disable it myself.


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Josh Triplett 2009-05-25 00:13:23 UTC
Originally reported as Debian bug 525187: http://bugs.debian.org/525187
Comment 2 Ray Strode [halfline] 2009-05-26 17:40:27 UTC
You can turn off animations like these by toggling the

gtk-enable-animations gtk setting.

One easy way to do that is to put

gtk-enable-animations = 0

in your gtkrc file
Comment 3 Josh Triplett 2009-05-27 02:24:27 UTC
(In reply to comment #2)
> You can turn off animations like these by toggling the
> 
> gtk-enable-animations gtk setting.
> 
> One easy way to do that is to put
> 
> gtk-enable-animations = 0
> 
> in your gtkrc file

Interesting.  I don't know that I want to turn off *all* animations, though.  But I'll try that setting and see how it works out.
Comment 4 Josh Triplett 2009-05-27 02:30:39 UTC
That setting in ~/.gtkrc-2.0 did indeed disable the fade-in animation.  However, the screen still flashes to black and then to the background color.  I have the same background color in GDM and in my session, so I'd expect a seamless invisible transition from the GDM background to my session's background.
Comment 5 Ray Strode [halfline] 2009-05-27 14:40:36 UTC
are you using a solid background color? No picture?
Comment 6 Josh Triplett 2009-05-27 21:47:50 UTC
(In reply to comment #5)
> are you using a solid background color? No picture?

Right.
Comment 7 Josh Triplett 2009-05-27 21:49:26 UTC
The use of the same solid background color for GDM and GNOME motivated this bug report in the first place: it looks very odd to have gnome-settings-daemon replace the background color with black and then fade it back to the original background color.
Comment 8 Ray Strode [halfline] 2009-05-28 14:24:17 UTC
So when the background is a picture, the image is retrievable, but when it's a color it's not.  

Right now if we can't figure out what to fade from, we fade from black.  I wonder if we should just skip the fade entirely in that case.

Or maybe we should stuff the color as a property on the root window also, then it would be retrievable and we could fade properly.
Comment 9 Josh Triplett 2009-07-23 05:15:37 UTC
(In reply to comment #8)
> So when the background is a picture, the image is retrievable, but when it's a
> color it's not.  

Huh, strange.

> Right now if we can't figure out what to fade from, we fade from black.  I
> wonder if we should just skip the fade entirely in that case.

That sounds sensible.  A fade from black will more than likely result in an initial flash *to* black.

> Or maybe we should stuff the color as a property on the root window also, then
> it would be retrievable and we could fade properly.

Perhaps, but please do check and avoid the fade if the colors match. :)
Comment 10 Bastien Nocera 2010-10-13 17:47:56 UTC
*** Bug 632081 has been marked as a duplicate of this bug. ***
Comment 11 Brian Cameron 2010-10-13 18:09:14 UTC
Bastien, bug #632081 highlights that a good way to address this problem is to fix the g-s-d plugin to make use of the new nautilus configuration setting to disable the fading feature.  So, please refer to nautilus bug 623174 to see more information about this.

Also note that nautilus now uses GSettings and not GConf, so this probably means that g-s-d needs to be updated to use the new GSettings configuration anyway.  Note that the g-s-d background plugin uses the nautilus configuration settings to know how to draw the background.

So adding this new configuration option to disable the fading effect should probably be done as a part of updating the g-s-d background to use the new nautilus GSettings configuration.
Comment 12 Bastien Nocera 2010-11-16 16:33:32 UTC
(In reply to comment #11)
> Bastien, bug #632081 highlights that a good way to address this problem is to
> fix the g-s-d plugin to make use of the new nautilus configuration setting to
> disable the fading feature.  So, please refer to nautilus bug 623174 to see
> more information about this.
> 
> Also note that nautilus now uses GSettings and not GConf, so this probably
> means that g-s-d needs to be updated to use the new GSettings configuration
> anyway.  Note that the g-s-d background plugin uses the nautilus configuration
> settings to know how to draw the background.
> 
> So adding this new configuration option to disable the fading effect should
> probably be done as a part of updating the g-s-d background to use the new
> nautilus GSettings configuration.

You can't use schemas or settings from programs lower down the stack with GSettings. All the needed settings should be from gsettings-desktop-schemas, and the functionality in GnomeBG.

Given that GnomeBG already follows the "gtk-enable-animations" setting, I think this should be enough to fix the problem (disable it, and you won't get animations in much of the desktop, and no fade).

If you need a separate setting just for the fade, please file a bug against gnome-desktop, where all the fade code is. And, obviously, if the setting isn't respected in your setup, feel free to file a bug against gnome-desktop again.
Comment 13 Josh Triplett 2010-12-01 08:44:34 UTC
I guess I don't really care that much about having a separate setting, but I don't really want to disable all animations, either (though doing so does work).  Actually, I'd be perfectly happy if whatever does the fade would do some kind of crossfade, so that if the initial and final appearance looks the same, the fade would not have any visible effect.  Or any other solution that avoids fading to black between two otherwise identical backgrounds.

What package should I file that request against (or reassign this bug to)?