<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Painting artifacts of QGraphicsProxyWidget with QPlainTextEdit]]></title><description><![CDATA[<p dir="auto">Hello, everyone.</p>
<p dir="auto">There was a problem of repainting the graphical scene when using elements with a QGraphicsProxyWidget with QPlainTextEdit.</p>
<p dir="auto">It looks like this, as shown in the pictures:</p>
<p dir="auto"><img src="https://raw.githubusercontent.com/kai66673/TestSceneFail/master/pictures/test_ok.png" alt="" class=" img-fluid img-markdown" /><br />
<img src="https://raw.githubusercontent.com/kai66673/TestSceneFail/master/pictures/test_fail.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">The artifact is observed for Qt version 5.9.1 in Windows and Linux. The minimal compiled example is posted on github: <a href="https://github.com/kai66673/TestSceneFail" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/kai66673/TestSceneFail</a></p>
<p dir="auto">Any ideas how to avoid such behavior?</p>
<p dir="auto"><em>[Edit: fixed images links ~~ @Wieland]</em></p>
]]></description><link>https://forum.qt.io/topic/83874/painting-artifacts-of-qgraphicsproxywidget-with-qplaintextedit</link><generator>RSS for Node</generator><lastBuildDate>Sat, 24 Oct 2026 04:52:12 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/83874.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Oct 2017 16:18:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Painting artifacts of QGraphicsProxyWidget with QPlainTextEdit on Tue, 10 Oct 2017 07:55:45 GMT]]></title><description><![CDATA[<p dir="auto">The solution is setCacheMode of proxy widget to QGraphicsItem::DeviceCoordinateCache</p>
]]></description><link>https://forum.qt.io/post/419821</link><guid isPermaLink="true">https://forum.qt.io/post/419821</guid><dc:creator><![CDATA[Alex Kudryavtsev]]></dc:creator><pubDate>Tue, 10 Oct 2017 07:55:45 GMT</pubDate></item></channel></rss>