gnome-shell/js
Lionel Landwerlin 586ebcd5be background: fix asynchronous management of background loading operations
This fixes a blue background being drawn when switching the monitors
configuration using hardware keys
(clone/multimonitor/external/internal).

The problem is that the shell gather all background loading requests
under the same meta_background_load_file_async call using one
GCancellable (the first one to come). So when the shell receives a
batch of 12 or so XRandr events, it creates 12 new background managers
which end up trying to load 12 times the same background picture. All
of these requests are batched into the same
meta_background_load_file_async using the first GCancellable received
on the first request. Unfortunately, when the first request is
cancelled by the following event indicating a new monitor setup, all
of the background picture requests are dropped on the floor, and
nothing gets loaded (hence the blue screen background).

https://bugzilla.gnome.org/show_bug.cgi?id=703001
2013-07-03 17:03:02 +01:00
..
extensionPrefs extensionPrefs: Fix opening extension preferences on startup 2013-02-28 15:37:29 +01:00
gdm loginDialog: make spinner and session menu button share position 2013-06-26 15:20:10 -04:00
misc Hash: make .size() constant time 2013-05-12 21:06:34 +02:00
perf perf: Update to latest overlay changes 2012-08-20 20:40:01 +02:00
ui background: fix asynchronous management of background loading operations 2013-07-03 17:03:02 +01:00
Makefile.am ui: move AnimatedIcon out of panel.js 2013-06-25 15:16:42 -04:00