From 4b84e48e8eb83c49af2f89451262bfddbcce150d Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Thu, 2 Oct 2025 17:06:30 +0200 Subject: [PATCH] Overview: potential fix for fallback wallpaper showing after logout/login --- Modules/Background/Overview.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Modules/Background/Overview.qml b/Modules/Background/Overview.qml index 7aa67240..b471174e 100644 --- a/Modules/Background/Overview.qml +++ b/Modules/Background/Overview.qml @@ -21,6 +21,10 @@ Variants { if (modelData) { Logger.log("Overview", "Loading Overview component for Niri on", modelData.name) } + updateWallpaper() + } + + function updateWallpaper() { wallpaper = modelData ? WallpaperService.getWallpaper(modelData.name) : "" } @@ -33,6 +37,15 @@ Variants { } } } + + Connections { + target: WallpaperService + function onIsInitializedChanged() { + if (WallpaperService.isInitialized) { + updateWallpaper() + } + } + } color: Color.transparent screen: modelData