GNOME Bugzilla – Bug 773265
late background changing after suspend/resume
Last modified: 2017-10-07 17:50:33 UTC
Hi there, when I do work in the evening, the default GNOME background wallpaper is in its dark-themed mode which fits the evening daytime. When I close the lid to suspend the system and open it up again in the morning to resume, the background is still in its dark-themed mode for a rather long time frame (about a minute or so) until it abruptly switches into its light-themed mode which fits the morning daytime. I suggest to run the code which checks the daytime to decide about the background theme immediately after resume (or in much shorter cycles of about one second). Thanks, Fabian
Reassigning to gnome-shell, that handles the display of the lock screen background.
I was talking about the regular GNOME desktop background (the one that comes with gnome-backgrounds and changes with daytime), not the lock screen background.
Created attachment 338188 [details] [review] background: Update animations when coming back from suspend We currently reload animated backgrounds on timezone changes, but there are other cases where the time can change unexpectedly and the background no longer matches the time of day. One case we can easily handle is when coming back from suspend, so do that. Note that I did not actually test the patch - the code may run before the clock is updated and we end up with the same slice that was used when suspending ...
Review of attachment 338188 [details] [review]: lgtm, untested
Attachment 338188 [details] pushed as ccacb5f - background: Update animations when coming back from suspend
*** Bug 739830 has been marked as a duplicate of this bug. ***