https://issues.qgis.org/https://issues.qgis.org/favicon.ico2014-03-08T22:07:21ZQGIS Issue TrackingQGIS Application - Bug report #9734: [Composer] drawing rectangle causes high CPU usage resulting in hang upshttps://issues.qgis.org/issues/9734?journal_id=495112014-03-08T22:07:21ZNyall Dawson
<ul></ul><p>I can't reproduce this. Is this on a blank project or do you only see it with a specific project?</p>
<p>Its possible the debug log may help - try downloading debugview from <a class="external" href="http://technet.microsoft.com/en-au/sysinternals/bb896647.aspx">http://technet.microsoft.com/en-au/sysinternals/bb896647.aspx</a><br />Then run the current Dev version and start debugview (from memory you select something like enable global win32 from the menus to see qgis debug messages). Then reproduce this issue and see if anything is being printed to the log. If so, copy and paste it here for me.</p> QGIS Application - Bug report #9734: [Composer] drawing rectangle causes high CPU usage resulting in hang upshttps://issues.qgis.org/issues/9734?journal_id=495182014-03-09T22:26:00ZEvaldas Micius
<ul><li><strong>File</strong> <a href="/attachments/download/6964/full_log.txt">full_log.txt</a><a href="/attachments/6964/full_log.txt"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li><li><strong>File</strong> <a href="/attachments/download/6963/log.txt">log.txt</a><a href="/attachments/6963/log.txt"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li><li><strong>File</strong> <a href="/attachments/download/6962/Clipboard02.png">Clipboard02.png</a> added</li></ul><p>I'm getting the bug on a blank project.</p>
<p>Updated to most recent dev version - the bug remains :(</p>
<p>If I draw a rectangle or any other shape on composer space and try to open any save/open dialog, e.g. "load template", a window pops up, but widgets fail to draw (screenshot attached). After a while widgets get drawn, however if I browse to some directory, file listings refresh only if I move the window. I guess it's related to high CPU usage, since with an empty composer canvas everything works fine.</p>
<p>The interesting part is that everything is OK while I draw the rectangle. I can mess around while in rubberband mode. but as soon as I release mouse - CPU usage hits the ceiling. If I delete the object, everything goes to normal.</p>
<p>Debug log doesn't seem to give any information. Attached it anyway (the part where the bug is and full log from application start).</p> QGIS Application - Bug report #9734: [Composer] drawing rectangle causes high CPU usage resulting in hang upshttps://issues.qgis.org/issues/9734?journal_id=495192014-03-09T23:09:21ZEvaldas Micius
<ul></ul><p>One more interesting detail - CPU drops to normal if I change blending mode of the rectangle to any other value besides "Normal". Resetting blending mode to normal causes the bug to reappear.</p>
<p>[Edit] Buggy behaviour disappears if I zoom to any empty region of the canvas where the rectangle is not visible.</p> QGIS Application - Bug report #9734: [Composer] drawing rectangle causes high CPU usage resulting in hang upshttps://issues.qgis.org/issues/9734?journal_id=498462014-03-25T16:18:05ZNyall Dawson
<ul></ul><p>Can you please test again with the current 2.3 dev version? There's been a small change which may have fixed this issue.</p> QGIS Application - Bug report #9734: [Composer] drawing rectangle causes high CPU usage resulting in hang upshttps://issues.qgis.org/issues/9734?journal_id=501012014-04-01T16:04:58ZNyall Dawson
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/2b3108f9aeadb6814ad0519b2c53840db2c834d1" title="Fix high cpu usage with win32 builds when using shapes in composer (fix #9933, #9957, #9734)">2b3108f9aeadb6814ad0519b2c53840db2c834d1</a>.</p>