From 75e5b791034ad2e86a98ba83c136e866d7593355 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Mon, 11 Jul 2022 09:37:56 -0400 Subject: [PATCH] lockscreen: Use temporary fix for black background --- look-and-feel/contents/lockscreen/LockScreen.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/look-and-feel/contents/lockscreen/LockScreen.qml b/look-and-feel/contents/lockscreen/LockScreen.qml index 333eccb8..03f399b5 100644 --- a/look-and-feel/contents/lockscreen/LockScreen.qml +++ b/look-and-feel/contents/lockscreen/LockScreen.qml @@ -8,6 +8,7 @@ import QtQuick 2.12 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 +import QtGraphicalEffects 1.12 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.notificationmanager 1.1 as Notifications @@ -42,6 +43,18 @@ PlasmaCore.ColorScope { passwordBar.textField.forceActiveFocus(); } + // HACK: kscreenlocker doesn't draw the wallpaper (shows up as black) + Loader { + anchors.fill: parent + asynchronous: true + sourceComponent: FastBlur { + cached: true + radius: 0 + source: wallpaper + anchors.fill: parent + } + } + // wallpaper blur Loader { anchors.fill: parent