Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.7.2
-
None
-
Linux n97 6.9.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 x86_64 GNU/Linux
Description
Take this example:
background: Image { anchors.centerIn: parent source: "image://svg/:/tiger.svg" sourceSize: { const wh = Math.min(parent.width, parent.height) return Qt.size(wh, wh) } }
When sourceSize changes I'd expect the Image to reload, but it does not happen. Something is wrong. Tracing into the code shows the image is not being reloaded, a new image is not being requested from the image provider.
Sample demonstrating the bug (I expect the tiger to resize and indeed this is what used to happen with older versions of Qt):