Florian Müllner
d6197b0904
background: Destroy redundant backgrounds right after loading
When reacting to background settings changes, we may end up queuing more than one load. The redundant backgrounds are expected to be destroyed when the previous background has faded out; however since commit 933f38390ba1512aa, the tweened actor is the same for all consecutive load operations and we end up with a single onComplete handler, ergo a single destroyed actor. As new backgrounds are always added to the bottom, we are not only piling up additional background actors, but break changing backgrounds more than once, as the correct background ends up being covered by previously added redundant actors. Fix this by destroying redundant actors right after loading rather than waiting for the fade animation to complete. https://bugzilla.gnome.org/show_bug.cgi?id=726120
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see: http://live.gnome.org/GnomeShell Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' product. License ======= GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.
Description
Languages
C
49.2%
JavaScript
47.4%
SCSS
1.4%
Meson
0.8%
Python
0.6%
Other
0.4%