qnanopainter
qnanopainter copied to clipboard
Strange behaviour uing QNANO_USE_RENDERNODE in my piechart example
Hello, today I updated my fork to upstream and also checked out behviour of QNANO_USE_RENDERNODE with my piechart example. It consists of a Flickable containing a Grid Layout of QNanoQuickitems When flicking only a random number of the items is moved the other follow only after some time with a jump. It is hard to describe, so please have a look yourself, at https://github.com/gunrot/qnanopainter/tree/piechart
I have experienced similar behavior with QNANO_USE_RENDERNODE and features gallery example when animations which trigger updating are disabled. Patch above fixes this by listening Flickable onContentXChanged signal. But don't know if this is a Qt bug with Flickable + QSGRenderNode or should QNanoQuickItem track some related event..?
Well now i also see that the charts which do not move are the ones which are not changing at the moment. so it really is a update problem. It looks like a Qt Bug. But to prove that, an example with just QSGRendernode and no QNanopainter has to be written.