From e2c140715383226b609ab866d234ddf607540743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 26 Feb 2021 22:55:57 +0100 Subject: [PATCH] overview: Unset visibleTarget on gesture end The property describes the target visibility (that is, the visibility that will be set after the ongoing transition), and is therefore updated at the start of the transition rather than from hideDone(). The overview gesture currently misses resetting it at the end, so it is only updated to the correct state the next time the overview is entered. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3798 Part-of: --- js/ui/overview.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/overview.js b/js/ui/overview.js index 3f881da57..ac1a349da 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -396,6 +396,7 @@ var Overview = class { let onComplete; if (endProgress === 0) { this._shown = false; + this._visibleTarget = false; this.emit('hiding'); Main.panel.style = 'transition-duration: %dms;'.format(duration); onComplete = () => this._hideDone();