<div dir="ltr"><div dir="ltr" class="gmail_msg">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,</div><div class="gmail_msg">Oliver</div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Sun, 22 Jan 2017 at 08:43 Dariusz Makowski <<a href="mailto:dariusz1989@gmail.com" class="gmail_msg" target="_blank">dariusz1989@gmail.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
<p class="gmail_msg">Hey</p>
<p class="gmail_msg">Using it 1st time so apologise for any weird errors in my
submission.</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">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. <br class="gmail_msg">
</p>
<p class="gmail_msg">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. <br class="gmail_msg">
</p>
<p class="gmail_msg">I'm using dockwidget to hold my node editor and other things.</p>
<p class="gmail_msg">Attached a jpg example of issue.</p>
<p class="gmail_msg">Is that a bug, or I need to change some settings on Scene/View?</p>
<br class="gmail_msg">
<p class="gmail_msg">Using:</p>
<p class="gmail_msg">
</p>
<pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'Courier New';font-size:9.0pt" class="gmail_msg"><span style="color:#94558d" class="gmail_msg">self</span>.setRenderHint(QPainter.Antialiasing)
<span style="color:#94558d" class="gmail_msg">self</span>.setViewportUpdateMode(QGraphicsView.SmartViewportUpdate)<span style="color:#808080" class="gmail_msg">
</span><span style="color:#94558d" class="gmail_msg">self</span>.setTransformationAnchor(QGraphicsView.AnchorUnderMouse)
<span style="color:#94558d" class="gmail_msg">self</span>.setResizeAnchor(QGraphicsView.AnchorUnderMouse)
<span style="color:#94558d" class="gmail_msg">self</span>.setDragMode(QGraphicsView.ScrollHandDrag)</pre>
<p class="gmail_msg">Regards</p>
<p class="gmail_msg">Dariusz<br class="gmail_msg">
</p>
<pre class="m_7504868119233520504m_-1977358569067681047moz-signature gmail_msg" cols="72">--
DARIUSZ MAKOWSKi
CGI-Photographer
07 590 530 854
<a class="m_7504868119233520504m_-1977358569067681047moz-txt-link-abbreviated gmail_msg" href="mailto:Dariusz@Dariuszmakowski.com" target="_blank">Dariusz@Dariuszmakowski.com</a>
<a class="m_7504868119233520504m_-1977358569067681047moz-txt-link-abbreviated gmail_msg" href="http://www.dariuszmakowski.com" target="_blank">www.dariuszmakowski.com</a></pre>
</div>
_______________________________________________<br class="gmail_msg">
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" class="gmail_msg" target="_blank">PyQt@riverbankcomputing.com</a><br class="gmail_msg">
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" class="gmail_msg" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Oliver<div>My StackOverflow contributions<br><div>My CodeProject articles</div></div><div>My Github projects</div><div>My SourceForget.net projects</div></div></div>