From fac50fb50e6775b7aa291b714d46e5a3203f61fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 24 Feb 2021 23:26:56 +0100 Subject: [PATCH] workspaceThumbnail: Queue state update after expanding New workspaces are added in two steps, first the minimap expands to make room for the new thumbnail, then the thumbnail animates in. However we currently don't queue a state update after the first step, so the second one only happens after one is queued by some other event (like a workspace switch). https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3748 Part-of: --- js/ui/workspaceThumbnail.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index e805c4f52..17d29d0d1 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -1208,6 +1208,7 @@ var ThumbnailsBox = GObject.registerClass({ mode: Clutter.AnimationMode.EASE_OUT_QUAD, onComplete: () => { this._setThumbnailState(thumbnail, ThumbnailState.EXPANDED); + this._queueUpdateStates(); }, }); });