-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.8.2, 6.9.1
-
None
Have following item:
Item { id: item MultiEffect { anchors.fill: item source: item shadowEnabled: true shadowColor: "#9B9B9B" shadowBlur: 1.0 shadowHorizontalOffset: 8 shadowVerticalOffset: 8 } ProgressBar { background: Rectangle { } contentItem: Item { Rectangle { } } NumberAnimation on value { running: item.visible from: 0.0 to: 1.0 duration: dismissTimeout onFinished: { } } // NumberAnimation } }
Shadow on `MultiEffect` worked ok until I added `NumberAnimation` to the `ProgressBar.value` which is completely unrelated to it. After that shadow offsets increased in several times and other strange screen artefacts appeared.
Original shadow:
After animation added:
Forced to switch to RectangularGlow for now which works fine with the animation.
Full code: Main.qml
To reproduce set timed property to true to enable animation.
Another bug: uncomment line 113:
// background: Rectangle { color: "transparent" }
shadow disappears at all.