From 0762b20e3e39bf090c0a66400a7dc54572c9e584 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 20 May 2026 22:29:15 -0400 Subject: [PATCH] Fix freezing before setting --- shell/plugins/background/Background.qml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/shell/plugins/background/Background.qml b/shell/plugins/background/Background.qml index c9cfd8c0..cb189a31 100644 --- a/shell/plugins/background/Background.qml +++ b/shell/plugins/background/Background.qml @@ -198,10 +198,15 @@ Item { property int frozenBackgroundVersion: -1 function backgroundIsStable() { - return !root.incomingBackground + // Don't freeze before the wallpaper has actually painted at least + // once. base.status === Image.Null on startup (empty source) reports + // "stable" but the surface hasn't committed a frame yet — freezing + // there leaves the wallpaper invisible until something else forces a + // repaint. + return base.status === Image.Ready + && !root.incomingBackground && !root.finishingTransition && root.revealProgress >= 1 - && base.status !== Image.Loading && oldFrame.status !== Image.Loading && incomingFrame.status !== Image.Loading } @@ -238,8 +243,6 @@ Item { } } - Component.onCompleted: scheduleUpdatesFreeze() - Image { id: base anchors.fill: parent