From d6234d0411401a55ca700c75f6425e6f3fbfc4d6 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 19 Sep 2022 14:50:57 +0300 Subject: [PATCH] effects/windowview: Re-order placeholder text and window heap This ensures that the proxy thumbnail item is stacked above the placeholder text. --- src/effects/windowview/qml/main.qml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/effects/windowview/qml/main.qml b/src/effects/windowview/qml/main.qml index b8afeeb91f..66e22c49bf 100644 --- a/src/effects/windowview/qml/main.qml +++ b/src/effects/windowview/qml/main.qml @@ -89,6 +89,14 @@ Item { } } + PlasmaExtras.PlaceholderMessage { + anchors.centerIn: parent + width: parent.width - (PlasmaCore.Units.gridUnit * 8) + visible: heap.count === 0 + iconName: "edit-none" + text: effect.searchText.length > 0 ? i18nd("kwin_effects", "No Matches") : i18nd("kwin_effects", "No Windows") + } + ColumnLayout { width: targetScreen.geometry.width height: targetScreen.geometry.height @@ -190,13 +198,6 @@ Item { onActivated: effect.deactivate(container.effect.animationDuration); } } - PlasmaExtras.PlaceholderMessage { - anchors.centerIn: parent - width: parent.width - (PlasmaCore.Units.gridUnit * 8) - visible: heap.count === 0 - iconName: "edit-none" - text: effect.searchText.length > 0 ? i18nd("kwin_effects", "No Matches") : i18nd("kwin_effects", "No Windows") - } Repeater { model: KWinComponents.ClientFilterModel {