Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt for MCUs 1.5
-
None
-
-
1
-
UL Sprint 3.7
Description
An Image/ColorizedImage that is either scaled or rotated (via scale/rotation property or via transform property, or by setting width/height other than image size) does only show 1 or 0 as correct opacity value. Every opacity value in between is always shown completly transparent like opacity is set to 0.
Qml test code should fade from opaque to transparent and back, but due to this bug there is no fading, just a change btween transparent and opaque:
Rectangle { id: parentRect color: "black" width: 1280 height: 720 MouseArea{ anchors.fill: parent onClicked: image.opacity = (image.opacity === 0? 1 : 0) } Image{ id: image source: "Test.png" transform: Scale{xScale:2; yScale: 2} Behavior on opacity{NumberAnimation{duration: 500}} } }
This effect is regardless whether resource compression or optimization is enabled or disabled