Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0, 5.13.0
-
None
-
Windows 7/10 and Linux (Intel driver).
-
-
b407a77380f189438acf08fefff58e7c5b8fd036 (qt/qtdeclarative/dev)
Description
Shape/ShapePath fillColor and strokeColor seem to 'come back' to a previous color when Shape lose the link to 'window' (when one of its parent is null -> onWindowChanged).
The problem should be arround 'Shape.GeometryRenderer' because there is no bug using the software renderer (QMLSCENE_DEVICE=softwarecontext).
Steps to reproduce :
1) start the main.qml (attached)
2) click on first checkbox -> stroke color change to red
3) click on 2nd checkbox -> the draw is not visible
4) click again on 2nd checkbox -> the draw come back visible
But ShapePath stroke come back to 'green' (and should be 'red' like the rectangle and the label text)