diff --git a/src/effects/windowview/qml/main.qml b/src/effects/windowview/qml/main.qml index ff2dcd011c..6ec43d680e 100644 --- a/src/effects/windowview/qml/main.qml +++ b/src/effects/windowview/qml/main.qml @@ -90,11 +90,12 @@ Item { } } - PlasmaExtras.PlaceholderMessage { + Loader { anchors.centerIn: parent width: parent.width - (PlasmaCore.Units.gridUnit * 8) - visible: heap.activeEmpty + active: heap.activeEmpty + // Otherwise it's always 100% opaque even while the blurry desktop background's // opacity is changing, which looks weird and is different from what Overview does. opacity: container.organized ? 1 : 0 @@ -102,8 +103,10 @@ Item { OpacityAnimator { duration: container.effect.animationDuration; easing.type: Easing.OutCubic } } - iconName: "edit-none" - text: effect.searchText.length > 0 ? i18nd("kwin_effects", "No Matches") : i18nd("kwin_effects", "No Windows") + sourceComponent: PlasmaExtras.PlaceholderMessage { + iconName: "edit-none" + text: effect.searchText.length > 0 ? i18nd("kwin_effects", "No Matches") : i18nd("kwin_effects", "No Windows") + } } ColumnLayout {