> On 16 Nov 2014, at 14:21, Dmitrii Volosnykh
> wrote:
>
> 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.
Hi Dmi
Thank you for sorting this out.
Regards,
Dmitrii.
2014-11-18 11:49 GMT+03:00 :
>
> > On 16 Nov 2014, at 14:21, Dmitrii Volosnykh
> wrote:
> >
> > Is such a behaviour is correct or this should be considered as a bug?
> >
> > onPaint handler gets triggered on requestPaint() and
> markDirty(Qt.rec
I filed a bug: https://bugreports.qt-project.org/browse/QTBUG-42737
2014-11-16 16:24 GMT+03:00 Dmitrii Volosnykh :
> By the way, it is unclear when canvas gets repainted on requestPaint():
> some time when it becomes visible or immediately?
>
> 2014-11-16 16:21 GMT+03:00 Dmitrii Volosnykh
> :
>
By the way, it is unclear when canvas gets repainted on requestPaint():
some time when it becomes visible or immediately?
2014-11-16 16:21 GMT+03:00 Dmitrii Volosnykh :
> Is such a behaviour is correct or this should be considered as a bug?
>
> onPaint handler gets triggered on requestPaint() and