Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.3.0 Beta1
-
None
-
dc051f28b865e54d3834824ffea6f2562f0836c1
Description
They are initially white instead of gray with zeros. Apparently the first onPaint call of the canvas elemnts doesn't have an effect. I've added a little hook into onPainted to save the results of the first and second painting as images. Clearly, the first one is blank and the second one has some content.
onPainted: { // You can only do one of those at a time as it will crash on some recursively-locked mutex. //if (++numPaints === 1) { // save("/tmp/timemarks1.png") // console.log("painted", timeMarks.numPaints); if (++numPaints === 2) { save("/tmp/timemarks2.png") console.log("painted", timeMarks.numPaints); } }