Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.3.1
-
e05ba6967edfe288044d6c397fbb541c67eddead
Description
Uncomment the commented out code below and the rectangle won't be drawn.
import QtQuick 2.0 Rectangle { width: 300 height: 300 Canvas { anchors.fill: parent anchors.margins: 10 onPaint: { var ctx = getContext("2d"); ctx.beginPath(); ctx.fillStyle = "red"; ctx.fillRect(0, 0, width, height/*, 0*/); } } }
Attachments
For Gerrit Dashboard: QTBUG-40703 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
91957,6 | Ignore extra arguments passed to Context2D functions. | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |