[PyQt] PyQt5 5.7.1. Possibly BUG - QGraphicsScene/View graphical/visual glitches

oliver oliver.schoenborn at gmail.com
Mon Jan 23 00:18:36 GMT 2017


It could be QTBUG-55918. If so, try setting the opacity as described there.
If not, there are a couple other related bugs. I.e., this is not likely to
be a PyQt 5.7 issue, but a Qt 5.7 issue. HTH,
Oliver

On Sun, 22 Jan 2017 at 08:43 Dariusz Makowski <dariusz1989 at gmail.com> wrote:

Hey

Using it 1st time so apologise for any weird errors in my submission.


In any case I have a QGraphicsView/Scene node editor system. I use
widgets/checkboxes/lineedits/other in my view with QRectItem as a parent.

When I upgraded from 5.4.x to 5.7.1 I can notice some visual glitches. When
I zoom in/out pan around the drawing of widgets gets messed up.

I'm using dockwidget to hold my node editor and other things.

Attached a jpg example of issue.

Is that a bug, or I need to change some settings on Scene/View?

Using:

self.setRenderHint(QPainter.Antialiasing)self.setViewportUpdateMode(QGraphicsView.SmartViewportUpdate)self.setTransformationAnchor(QGraphicsView.AnchorUnderMouse)self.setResizeAnchor(QGraphicsView.AnchorUnderMouse)self.setDragMode(QGraphicsView.ScrollHandDrag)

Regards

Dariusz

-- 
DARIUSZ MAKOWSKi
CGI-Photographer
07 590 530 854Dariusz at Dariuszmakowski.comwww.dariuszmakowski.com

_______________________________________________
PyQt mailing list    PyQt at riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-- 
Oliver
My StackOverflow contributions
My CodeProject articles
My Github projects
My SourceForget.net projects
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170123/d69be2ca/attachment-0001.html>


More information about the PyQt mailing list