[Interest] QML. onPaint is called when Canvas is invisible

Dmitrii Volosnykh dmitrii.volosnykh at gmail.com
Sun Nov 16 14:21:40 CET 2014


Is such a behaviour is correct or this should be considered as a bug?

onPaint handler gets triggered on requestPaint() and markDirty(Qt.rect(0,
0, width, height)).

"if (!visible) return" guard works as a workaround.

Regards,
Dmitrii.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141116/eff17eb3/attachment.html>


More information about the Interest mailing list