-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8, 6.9.2
-
None
-
-
6b58ea261 (dev), b6bfb17a4 (6.10), a29d39419 (6.9)
When creating a QSGDefaultRectangleNode using QQuickWindow::createRectangleNode(), calling color() on the resulting node always returns QColor(Invalid), even after setting a valid color using setColor().
Internally, QSGDefaultRectangleNode uses a member variable m_color for the color() getter. However, this member is never updated in setColor(), which causes color() to return the default-initialized (invalid) color value, regardless of what was actually set.
For Gerrit Dashboard: QTBUG-138358 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
663869,2 | Fix QSGDefaultRectangleNode::color() always returning invalid | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
664082,2 | Fix QSGDefaultRectangleNode::color() always returning invalid | 6.10 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
664108,2 | Fix QSGDefaultRectangleNode::color() always returning invalid | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |