From af3632e90049da697a82f010a2acbef5ca2c7843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Br=C3=B8nner?= Date: Tue, 18 Dec 2018 18:07:09 +0100 Subject: [PATCH] Bugfix: dialogs created during animation was hidden To reproduce: Close a window with a confirmation dialog while the minimap is open (eg. gnome-terminal with a running program) A umapped window is either 1. a window that has not yet been inserted into a space/the scratch layer 2. a window we don't manage (eg. dialogs) meaning its clone is unused and should not be shown. Note that it's not unlikely that we'll start to manage dialog-clones in the future (#92) --- tiling.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tiling.js b/tiling.js index 55a7edb..326a2fe 100644 --- a/tiling.js +++ b/tiling.js @@ -2077,6 +2077,9 @@ function showHandler(actor) { if (Scratch.isScratchWindow(metaWindow)) return; + if (metaWindow.unmapped) + return; + if (metaWindow.clone.visible || ! onActive || Navigator.navigating || inPreview) { actor.hide();