https://issues.qgis.org/https://issues.qgis.org/favicon.ico2012-02-15T21:11:58ZQGIS Issue TrackingQGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=292212012-02-15T21:11:58ZAlister Hood
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>Actually, I think this should probably be "High Priority" - it is pretty bad showing the wrong CRS!</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=292242012-02-16T04:20:40ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Hi Alister, I'm running qgis-master on Ubuntu and I don't have the issue.</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=292362012-02-16T13:17:04ZAlister Hood
<ul></ul><p>Interesting.<br />It didn't seem like an issue that's likely to be Windows-only.</p>
<blockquote>
<p>There are four CRSs in my list of "Recently used" CRSs.</p>
</blockquote>
<p>For the record, I've now checked. When the list is full it doesn't make any difference - it still cycles through.</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=307322012-04-16T02:59:39ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li></ul><p>This issue has been addressed here at the developer meeting and Juergen and Richard came out with a solution that should solve this and a few other problems. Wait a while and try qgis master/1.8</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=319972012-05-19T18:31:35ZAlister Hood
<ul></ul><p>OK, this is partly fixed, but there is still a nasty bug.</p>
<p>If a layer's CRS is not in the list of recently used CRSs, if you right-click on the layer and choose "set layer CRS", the first item in the list of CRSs is selected. If you click OK, that CRS is applied to the layer. I can see two options for fixing this:</p>
<p>1. if the layer's CRS is not in the list of recently used CRSs, add it. This way the list would be the most recently <em>viewed</em> CRSs.</p>
<p>2. if the layer's CRS is not in the list of recently used CRSs, don't select anything in the list. This way the list would be the most recently <em>applied</em> CRSs.<br />But for this to be consistent more changes would be required as well:<br />Currently when you do "set layer CRS" for a layer with a CRS in the recently used list, then click "cancel", the CRS is moved to the bottom of the list. But it should only be moved to the bottom of the list if you click "OK", not "Cancel". Similarly, when you do "set layer CRS" and select a new CRS and then click "Cancel", the CRS is added to the bottom of the recently used list. It should not be.</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=322192012-05-27T14:50:28ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Alister Hood wrote:</p>
<blockquote>
<p>OK, this is partly fixed, but there is still a nasty bug.</p>
<p>If a layer's CRS is not in the list of recently used CRSs, if you right-click on the layer and choose "set layer CRS", the first item in the list of CRSs is selected. If you click OK, that CRS is applied to the layer. I can see two options for fixing this:</p>
<p>1. if the layer's CRS is not in the list of recently used CRSs, add it. This way the list would be the most recently <em>viewed</em> CRSs.</p>
<p>2. if the layer's CRS is not in the list of recently used CRSs, don't select anything in the list. This way the list would be the most recently <em>applied</em> CRSs.<br />But for this to be consistent more changes would be required as well:<br />Currently when you do "set layer CRS" for a layer with a CRS in the recently used list, then click "cancel", the CRS is moved to the bottom of the list. But it should only be moved to the bottom of the list if you click "OK", not "Cancel". Similarly, when you do "set layer CRS" and select a new CRS and then click "Cancel", the CRS is added to the bottom of the recently used list. It should not be.</p>
</blockquote>
<p>it is just my opinion, but I don't see this as a blocker but certainly something to be fixed.</p>
<p>If you enter the "set layer crs" dialog is because you want to change the CRS to the layer. If the crs you need is not listed in the "recently used CRSs" then you have the filter. If you click "cancel" the CRS is not changed regardless what was selected.</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=322202012-05-27T15:05:19ZAlister Hood
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Alister Hood wrote:</p>
<blockquote>
<p>OK, this is partly fixed, but there is still a nasty bug.</p>
<p>If a layer's CRS is not in the list of recently used CRSs, if you right-click on the layer and choose "set layer CRS", the first item in the list of CRSs is selected. If you click OK, that CRS is applied to the layer. I can see two options for fixing this:</p>
<p>1. if the layer's CRS is not in the list of recently used CRSs, add it. This way the list would be the most recently <em>viewed</em> CRSs.</p>
<p>2. if the layer's CRS is not in the list of recently used CRSs, don't select anything in the list. This way the list would be the most recently <em>applied</em> CRSs.<br />But for this to be consistent more changes would be required as well:<br />Currently when you do "set layer CRS" for a layer with a CRS in the recently used list, then click "cancel", the CRS is moved to the bottom of the list. But it should only be moved to the bottom of the list if you click "OK", not "Cancel". Similarly, when you do "set layer CRS" and select a new CRS and then click "Cancel", the CRS is added to the bottom of the recently used list. It should not be.</p>
</blockquote>
<p>it is just my opinion, but I don't see this as a blocker but certainly something to be fixed.</p>
<p>If you enter the "set layer crs" dialog is because you want to change the CRS to the layer.</p>
</blockquote>
<p>More often than not I enter the dialog just to see what the layer's CRS is. I think there will be plenty of others like me.</p>
<blockquote>
<p>If the crs you need is not listed in the "recently used CRSs" then you have the filter. If you click "cancel" the CRS is not changed regardless what was selected.</p>
</blockquote>
<p>But <br />1) if the user just wanted to see what the layer CRS is, and doesn't know about this bug , then they will assume that the CRS that is selected in the dialog is correct (so they might go and do some geoprocessing with the layer and get confused when they don't get the results they expect), and <br />2) they will assume that if they don't select another CRS the "cancel" and the "OK" buttons will have the same effect (which would be correct if this bug didn't exist), so they won't take care to click "cancel".</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=322212012-05-27T15:47:09ZLeyan Ouyang
<ul></ul><p>Alister Hood wrote:</p>
<blockquote>
<p>Giovanni Manghi wrote:</p>
<blockquote>
<p>If you enter the "set layer crs" dialog is because you want to change the CRS to the layer.</p>
</blockquote>
<p>More often than not I enter the dialog just to see what the layer's CRS is. I think there will be plenty of others like me.</p>
</blockquote>
<p>I agree, I do the same all the time.</p> QGIS Application - Bug report #5030: Incorrect layer CRS is shown when opening CRS selector more than once (recently used list is cycling)https://issues.qgis.org/issues/5030?journal_id=322422012-05-28T11:51:33ZJürgen Fischerjef@norbit.de
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/a965fca0b9a3deacef0a359d9329f2fa0a58e2a0" title="fix #5030">a965fca0b9a3deacef0a359d9329f2fa0a58e2a0</a>.</p>