Priority: P3: Somewhat important
Affects Version/s: 5.3.1
Component/s: Quick: Core Declarative QML
Environment:Qt Creator 3.1.2 (opensource)
Based on Qt 5.3.1 (MSVC 2010, 32 bit)
Built on Jun 23 2014 at 04:13:10
From revision a791e851a7
Using Canvas to draw two arc lines and a straight line.
Trying to use unique color for each line.
In the following example canvas draws correctly only for the first time.
Any subsequent paint uses wrong color(s), i.e. the assigned color from the parent Item property is used when stroking every line instead of the selected hardcoded colors !?
The following does not work as expected:
The example works properly if one of the following two changes is applied to this QML snippet :
Replace named property ref by hardcoded color string
Or replace second used hardcoded color string by another unique named color
|For Gerrit Dashboard: QTBUG-42155|
|253197,3||Canvas: Handle switching between object and string based colors||5.12||qt/qtdeclarative||Status: MERGED||+2||0|