https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-07-10T05:34:53ZQGIS Issue TrackingQGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=428192013-07-10T05:34:53ZMatthias Kuhn
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Do you have render caching enabled (In settings => Options => Rendering)?<br />It is known to cause such effects.</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=428262013-07-10T09:52:14ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>Hey Matt.</p>
<p>I checked and don't have render caching enabled on QGIS 1.8.</p>
<p>I'm noticing that if you toggle the visibility for a layer while the canvas is rendering, those changes aren't applied. In fact toggling visibility while the canvas is rendering doesn't affect rendering, the canvas will finish rendering what it was originally trying to render instead of cancelling the current render and restarting.</p>
<p>I have to wait till everything is finished rendering (or press <esc> to cancel rendering), then toggle the visibility.</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=428272013-07-10T09:55:12ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Donovan Cameron wrote:</p>
<blockquote>
<p>Hey Matt.</p>
<p>I checked and don't have render caching enabled on QGIS 1.8.</p>
<p>I'm noticing that if you toggle the visibility for a layer while the canvas is rendering, those changes aren't applied. In fact toggling visibility while the canvas is rendering doesn't affect rendering, the canvas will finish rendering what it was originally trying to render instead of cancelling the current render and restarting.</p>
<p>I have to wait till everything is finished rendering (or press <esc> to cancel rendering), then toggle the visibility.</p>
</blockquote>
<p>maybe this is somehow related to the fact that also the "show all layers" and "hide all layers" functions are not working?</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=428282013-07-10T10:04:14ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>maybe this is somehow related to the fact that also the "show all layers" and "hide all layers" functions are not working?</p>
</blockquote>
<p>Looks like that one is actually behaving a little differently.</p>
<p>If you Show All Layers (ctrl+shift+U) or Hide All Layers (ctrl+shift+H) the canvas is not refreshed and the changes aren't shown immediately. But they can be if you manually press Refresh or pan/zoom.</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=428292013-07-10T10:22:46ZDonovan Cameronsault.don@gmail.com
<ul></ul><p><a class="issue tracker-1 status-5 priority-10 priority- closed" href="https://issues.qgis.org/issues/8096" title="Show all layers / Hide all layers problem on Canvas (Closed)">#8096</a> is the bug for that "All Layers" issue =)</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=469282013-12-12T14:20:50ZX X
<ul></ul><p>I am having the same problem. It occurred in QGIS 1.8 and still seems to exist in 2.0. I think it is related to <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/8403" title="Toggling layer visibility to off doesn't work if you highlight a different layer first (Closed)">#8403</a> (sorry I am new to this and don't know how to link bug reports). It only seems to happen when there are many layers (e.g. more than 40) in a document and doesn't just happen when the canvas is rendering after a pan or zoom. I should note these are all PostGIS layers, but I will try to reproduce the issue with shapefiles.</p>
<p>Our current work-around is to click a layer name to highlight it in the table of contents, wait for QGIS to refresh, and then turn the check-box on or off. If you simply click the check box it will check/uncheck, but the layer won't actually turn off/on in the map canvas. I've been trying to figure out more information on the cause (e.g. enabled and disabled render caching), but haven't had any luck, sorry!</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=469362013-12-13T01:08:09ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Brett Z wrote:</p>
<blockquote>
<p>I am having the same problem. It occurred in QGIS 1.8 and still seems to exist in 2.0. I think it is related to <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/8403" title="Toggling layer visibility to off doesn't work if you highlight a different layer first (Closed)">#8403</a> (sorry I am new to this and don't know how to link bug reports). It only seems to happen when there are many layers (e.g. more than 40) in a document and doesn't just happen when the canvas is rendering after a pan or zoom. I should note these are all PostGIS layers, but I will try to reproduce the issue with shapefiles.</p>
<p>Our current work-around is to click a layer name to highlight it in the table of contents, wait for QGIS to refresh, and then turn the check-box on or off. If you simply click the check box it will check/uncheck, but the layer won't actually turn off/on in the map canvas. I've been trying to figure out more information on the cause (e.g. enabled and disabled render caching), but haven't had any luck, sorry!</p>
</blockquote>
<p>I have just tested on Linux/qgis master, with a huge projects (>100 layers) and cannot replicate the issue.</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=469432013-12-13T08:25:39ZX X
<ul></ul><p>I tested it some more and found it only occurs when there are PostGIS layer in the document. I tried a project with almost 100 SpatiaLite layers in it and there was no problem; however, as soon as I added one PostGIS layer the problem started occurring (even when turning on or off the SpatiaLite layers). We have 2 PostGIS servers and the problem occurs with layers from either of them. I'm going to try connecting to a clean PostGIS install in a virtual machine on my local computer to see if the problem still occurs...</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=469462013-12-13T09:13:46ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Brett Z wrote:</p>
<blockquote>
<p>I tested it some more and found it only occurs when there are PostGIS layer in the document. I tried a project with almost 100 SpatiaLite layers in it and there was no problem; however, as soon as I added one PostGIS layer the problem started occurring (even when turning on or off the SpatiaLite layers). We have 2 PostGIS servers and the problem occurs with layers from either of them. I'm going to try connecting to a clean PostGIS install in a virtual machine on my local computer to see if the problem still occurs...</p>
</blockquote>
<p>This is weird, because again (by adding postgis layers to my big projects) I can't confirm it (in qgis master).</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=469482013-12-13T11:03:42ZX X
<ul></ul><p>Thanks Giovanni... I couldn't figure out why you weren't able to replicate the issue, when all 20+ QGIS users here (and may people online line) have it occur - but I think I've isolated it now. The problem only occurs when the "Improved Polygon Capturing" plug-in is enabled in the 32-bit version and there are PostGIS layers in the document - a fairly unique situation, which explains why it wasn't occurring for you. We will simply disable this plugin when not being used, and your help troubleshooting is much appreciated. Hopefully this plugin can be fixed by its creator so other users don't have the same issue. Thanks again!</p> QGIS Application - Bug report #8231: Layer is still visible after un-checking (while canvas is rendering)https://issues.qgis.org/issues/8231?journal_id=469532013-12-14T00:15:34ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>