Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
QDS 2.0
-
None
Description
How to reproduce the problem:
1) create 2 rectangles, rectangle1 and rectangle2
2) drag&drop innerShadow
the effect is now as expected:
Rectangle {
id: rectangle1
...
layer.enabled: true
layer.effect: InnerShadowEffect {
id: innerShadow
}
}
Rectangle {
id: rectangle2
...
}
3) in Navigator window drag&drop the innerShadow effect from rectangle1 to rectangle2
the effect is applied wrongly as a child of the rectangle2 instead of beeing a layer.effect parameter, layer.enabled: true is still a parameter of the rectangle1:
Rectangle { id: rectangle1 x: 285 y: 134 width: 200 height: 200 color: "#ffffff" layer.enabled: true // still here! } Rectangle { id: rectangle2 x: 750 y: 134 width: 200 height: 200 color: "#ffffff" InnerShadowEffect { id: innerShadow x: -465 y: 0 } }
The effect is not visible.