GNOME Bugzilla – Bug 684154
wanda flickers
Last modified: 2012-09-17 17:52:00 UTC
if you have wanda in the search results, and hover on and off with the mouse, she blinks in and out of existence.
Created attachment 224449 [details] [review] IconGrid: don't recreate the texture if the icon size doesn't change This avoids a flicker in the Wanda search provider.
Nominating this a blocker: we can't ship without working Wanda.
Review of attachment 224449 [details] [review]: http://git.gnome.org/browse/gnome-shell/commit/js/ui/iconGrid.js?id=b833aff3c826ff23bf91a7be2e194365731af864
Review of attachment 224449 [details] [review]: Somehow Jasper's review does not show up in the bug but see http://git.gnome.org/browse/gnome-shell/commit/js/ui/iconGrid.js?id=b833aff3c826ff23bf91a7be2e194365731af864
(In reply to comment #4) > Review of attachment 224449 [details] [review]: > > Somehow Jasper's review does not show up in the bug but see > http://git.gnome.org/browse/gnome-shell/commit/js/ui/iconGrid.js?id=b833aff3c826ff23bf91a7be2e194365731af864 OK now it does sorry for the noise ...
Created attachment 224453 [details] [review] Wanda: don't recreate the texture if the icon size doesn't change Wanda flickers if the animation is recreated, but we don't need to if the size doesn't change (as we're not affected by icon theme changes). Also, remove the destroy signal connection, which was unnecessary and caused exceptions.
Review of attachment 224453 [details] [review]: Looks good but the destroy signal removal should be a separate patch.
Created attachment 224512 [details] [review] Wanda: don't recreate the texture if the icon size doesn't change Wanda flickers if the animation is recreated, but we don't need to if the size doesn't change (as we're not affected by icon theme changes).
Created attachment 224513 [details] [review] Wanda: remove unnecessary destroy signal connection 'destroy' is emitted before the actor is unmapped during destruction, so notify::mapped would emit an exception. Since unmapping is guaranteed, the 'destroy' signal is unnecessary.
Review of attachment 224512 [details] [review]: Looks good.
Review of attachment 224513 [details] [review]: Looks good.
Attachment 224512 [details] pushed as 70c34ba - Wanda: don't recreate the texture if the icon size doesn't change Attachment 224513 [details] pushed as 4beba79 - Wanda: remove unnecessary destroy signal connection