Re: [Interest] Drawing artifacts when scrolling QGraphicsView on OS X

2012-06-11 Thread Daniël de Kok
On Jun 10, 2012, at 3:34 PM, Jelmer van der Linde jel...@ikhoefgeen.nl wrote: On Sunday 10 June 2012 at 15:14, Till Oliver Knoll wrote: A further attempt to narrow down the issue could be to try different paint engines (raster or native): AFAIK up to Qt 4.7 the native painter was used, but it

Re: [Interest] Drawing artifacts when scrolling QGraphicsView on OS X

2012-06-10 Thread Jelmer van der Linde
On Sunday 10 June 2012 at 15:14, Till Oliver Knoll wrote: A further attempt to narrow down the issue could be to try different paint engines (raster or native): AFAIK up to Qt 4.7 the native painter was used, but it could be that it was now (Qt 4.8) switched by default to the raster painter

Re: [Interest] Drawing artifacts when scrolling QGraphicsView on OS X

2012-06-09 Thread Daniël de Kok
On Jun 8, 2012, at 2:44 PM, Jelmer van der Linde jel...@ikhoefgeen.nl wrote: It is only when I scroll that Qt doesn't invalidate the the old drawing area. As if the position changes due to scrolling aren't taken into account when invalidating the old rect. Also see the workaround that Jelmer

Re: [Interest] Drawing artifacts when scrolling QGraphicsView on OS X

2012-06-08 Thread Jelmer van der Linde
Hello Jordi, If I increase the size of the rectangle boundingRect returns, it does correctly clear that area. But my bounding rectangle is already as large (or just for testing, larger than) the actual tooltip. It also only occurs when I scroll. If I move the mouse (and therefore reposition