Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.1
-
Ubuntu 12.04 64-bit
NVIDIA GeForce GT 520
-
97daddee7a3abde2aea7327422d9102129eb09e7
Description
import QtQuick 2.0 Rectangle { id: root width: 400 height: 400 Canvas { id: canvas width: 30 height: 30 onPaint: { print("painted"); var ctx = getContext("2d"); ctx.beginPath(); ctx.fillStyle = "red"; ctx.ellipse(0, 0, width, height); ctx.fill(); } } Timer { running: true repeat: true interval: 100 onTriggered: canvas.x += 0.1 } }