<?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[Why QGraphicsItems dissapear once touching or approach viewport bounds?]]></title><description><![CDATA[<p dir="auto">I've got a problem. When graphics item cross, touch or sometimes just approach, to viewport bounds it dessapears. This happens when item is moved over scene or zooming view. How to stop this behavior?</p>
]]></description><link>https://forum.qt.io/topic/110623/why-qgraphicsitems-dissapear-once-touching-or-approach-viewport-bounds</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 10:46:28 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/110623.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Jan 2020 18:09:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Why QGraphicsItems dissapear once touching or approach viewport bounds? on Mon, 13 Jan 2020 18:44:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Well maybe the boundingRect is in local coordinates and<br />
not global as i assumed in the other post.<br />
The samples does not map to scene.</p>
]]></description><link>https://forum.qt.io/post/572171</link><guid isPermaLink="true">https://forum.qt.io/post/572171</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Mon, 13 Jan 2020 18:44:39 GMT</pubDate></item><item><title><![CDATA[Reply to Why QGraphicsItems dissapear once touching or approach viewport bounds? on Mon, 13 Jan 2020 18:40:35 GMT]]></title><description><![CDATA[<p dir="auto">I noticed that, problem is perhaps with items' boundingRect. Now, it returns mapped to scene rect(), but when it's not mapped, it works good.</p>
]]></description><link>https://forum.qt.io/post/572169</link><guid isPermaLink="true">https://forum.qt.io/post/572169</guid><dc:creator><![CDATA[clostridium_difficile]]></dc:creator><pubDate>Mon, 13 Jan 2020 18:40:35 GMT</pubDate></item><item><title><![CDATA[Reply to Why QGraphicsItems dissapear once touching or approach viewport bounds? on Mon, 13 Jan 2020 18:14:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Test with Diagram example and see if you can reproduce it.<br />
<a href="https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html</a></p>
<p dir="auto">If not, it means its in custom code and its not something we just guess.<br />
It could be some of your overrides or other logic. Missing call to base class or<br />
similar. :)</p>
]]></description><link>https://forum.qt.io/post/572162</link><guid isPermaLink="true">https://forum.qt.io/post/572162</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Mon, 13 Jan 2020 18:14:23 GMT</pubDate></item></channel></rss>