From 1f7aeec8c44e51c2856ef3c00b64284165409fb7 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 27 Apr 2026 20:51:42 +1000 Subject: [PATCH] fix: specify sourceSize as a single prop So we don't get 2 updates when width/height change --- components/images/CachingImage.qml | 3 +-- modules/launcher/items/WallpaperItem.qml | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/components/images/CachingImage.qml b/components/images/CachingImage.qml index 167f6b9b..e782b882 100644 --- a/components/images/CachingImage.qml +++ b/components/images/CachingImage.qml @@ -9,6 +9,5 @@ Image { asynchronous: true fillMode: Image.PreserveAspectCrop source: IUtils.urlForPath(path, fillMode) - sourceSize.width: width - sourceSize.height: height + sourceSize: Qt.size(width, height) } diff --git a/modules/launcher/items/WallpaperItem.qml b/modules/launcher/items/WallpaperItem.qml index 58be068d..3f2143ae 100644 --- a/modules/launcher/items/WallpaperItem.qml +++ b/modules/launcher/items/WallpaperItem.qml @@ -63,11 +63,9 @@ Item { } CachingImage { + anchors.fill: parent path: root.modelData.path smooth: !root.PathView.view.moving - cache: true - - anchors.fill: parent } }