qnanopainter icon indicating copy to clipboard operation
qnanopainter copied to clipboard

Strange behaviour uing QNANO_USE_RENDERNODE in my piechart example

Open gunrot opened this issue 6 years ago • 2 comments

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

gunrot avatar Mar 04 '18 16:03 gunrot

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..?

QUItCoding avatar Mar 05 '18 18:03 QUItCoding

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.

gunrot avatar Mar 11 '18 16:03 gunrot