https://issues.qgis.org/https://issues.qgis.org/favicon.ico2012-10-02T03:40:56ZQGIS Issue TrackingQGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=354612012-10-02T03:40:56ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> set to <i>Project Loading/Saving</i></li><li><strong>Target version</strong> set to <i>Version 2.0.0</i></li></ul> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=355152012-10-04T00:57:34ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>I'm unable to reproduce the bug on by Ubuntu 11.04.</p>
<p>I've made some changes to project opening and closing in commit <a href="https://issues.qgis.org/projects/quantum-gis/repository/revisions/bc1bce195edf4c95ff966cfe62aaa410b97a54fe" class="external">bc1bce195e</a>, maybe that commit fixed also this problem and that's the reason I can't reproduce it.</p>
<p>Could you try again with the latest master?</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=355802012-10-04T19:13:25ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Hmm; I've downloaded latest nightly (both osgeo4w and ubuntu packages), and I can still reproduce the issue. Have you tried loading a project with <em>many</em> layers? A small project won't show the issue to its full extend. Will come up with a video recording of the issue now.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=355812012-10-04T19:33:19ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/4934/freezing_after_saving.webm">freezing_after_saving.webm</a> added</li></ul><p>Giuseppe, have a look at the attached video, hope it'll help.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=357132012-10-05T15:31:02ZNathan Woodrow
<ul></ul><p>That is a very strange bug. Not confirmed here yet but I have a large project at work I can test with.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=357152012-10-05T20:06:43ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>- The above video was made using qgis master with all plugins disabled (ruling out a defective plugin causing the issue).<br />- I've tried a variety of large projects on my computer; all of them will result in slow / freezed loading after saving a project.<br />- Issue not raster related as projects with no raster layers will be affected by this issue.<br />- All of my projects are heavily reliant on shapefiles; all of the layers a file-based (i.e. no database or server-based layers).<br />- I can reproduce this on three different machines (two ubuntu machines, as well as one windows 7 machine)</p>
<p>Giuseppe, just to be clear re my previous comment, I'm still seeing this issue with builds that include the commit your referred to.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=363542012-10-07T18:41:05ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>I just found out what's happening!</p>
<p>The slowdown / die will occur when loading a project after saving a project within a same session <em>when</em> project being loaded as composer map(s) with rendering set to cache.</p>
<p>So what must be happening is that for some reason, after saving a project, qgis will not suspend composer map(s) rendering when loading project.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=363722012-10-08T19:18:09ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Giuseppe, one way to fix this is to insure project's composers are initiated after all layers are loaded (avoiding the composer map(s) cache from being refreshed while loading project upon insertion of each layer). I'm however not familiar enough with the QGIS source code to figure out how it triggers loading of composers when opening the project's xml file.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=363742012-10-08T22:21:10ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul><li><strong>Assignee</strong> set to <i>Marco Hugentobler</i></li></ul> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=363752012-10-08T22:52:00ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>Turned out the composers were not properly cleaned up, therefore the composermaps received update notifications.<br />Should be fixed in master (65141e29eec30e8f70d42d3f6df3b160c5d65c57). Please test and reopen if the issue is still there.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=363802012-10-09T00:37:32ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Wouhou! God, that one was not easy to narrow down. Thanks a bunch Marco. Will verify with a nightly build tomorrow.</p> QGIS Application - Bug report #6440: qgis master [windows,linux] will die opening a project after saving a projecthttps://issues.qgis.org/issues/6440?journal_id=363882012-10-09T16:26:14ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Confirmed fixed. Kudos.</p>