From 4f1ad9deb6d19cc3a305c699d7fb704c92db92bb Mon Sep 17 00:00:00 2001 From: Sho Date: Sun, 2 Aug 2026 16:21:41 +0900 Subject: [PATCH] fix(lockscreen): use ShaderEffectSource hideSource:true to ensure wallpaper texture buffer is captured for MultiEffect blur --- .../modules/lockscreen/LockscreenWindow.qml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/quickshell/modules/lockscreen/LockscreenWindow.qml b/quickshell/modules/lockscreen/LockscreenWindow.qml index 6021f7c..6028a85 100644 --- a/quickshell/modules/lockscreen/LockscreenWindow.qml +++ b/quickshell/modules/lockscreen/LockscreenWindow.qml @@ -22,26 +22,34 @@ PanelWindow { visible: LockscreenService.isLocked color: "black" - // Raw System Wallpaper (Hidden source item for MultiEffect blur) + // Raw System Wallpaper Image Image { id: bgImage anchors.fill: parent source: WallpaperService.currentWallpaper fillMode: Image.PreserveAspectCrop - visible: false Behavior on source { PropertyAnimation { duration: 300 } } } + // ShaderEffectSource capturing bgImage GPU texture with hideSource: true + ShaderEffectSource { + id: wallpaperSource + anchors.fill: parent + sourceItem: bgImage + hideSource: true + live: true + } + // Blurred Background of the current system wallpaper MultiEffect { anchors.fill: parent - source: bgImage + source: wallpaperSource blurEnabled: true blur: 1.0 - blurMax: 64 + blurMax: 48 opacity: 0.85 }