https://issues.qgis.org/https://issues.qgis.org/favicon.ico2017-09-28T07:28:55ZQGIS Issue TrackingQGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=832032017-09-28T07:28:55ZJürgen Fischerjef@norbit.de
<ul><li><strong>Duplicated by</strong> <i><a class="issue tracker-1 status-5 priority-4 priority- closed" href="/issues/17193">Bug report #17193</a>: Editing of shapefile locked following clearing of a filter</i> added</li></ul> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=833192017-10-03T07:50:41ZJürgen Fischerjef@norbit.de
<ul><li><strong>Subject</strong> changed from <i>Editing behaviur of filtered layers is inconsistent</i> to <i>Editing behavior of filtered layers is inconsistent</i></li></ul> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=834472017-10-10T06:45:08ZJürgen Fischerjef@norbit.de
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-4 priority-4 priority-" href="/issues/17245">Bug report #17245</a>: "orig_ogc_fid" field is added to filtered shapefiles in QGIS master</i> added</li></ul> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=853692017-12-18T05:36:51ZPatrick Dunfordenzedrailmaps@gmail.com
<ul></ul><p>This is a big deal for me, because when I have to close the project just so I can edit a table that I had a filter applied to (after removing the filter) and then reopen the project again.</p>
<p>However I think there is a whole question here of why editing a filtered table is blocked. In my maps which are used to show generations of historical data, there can be overlapping features that you want to hide to be able to draw in different generation ones. At the moment I have to create them in a separate table then paste them. Now imagine that I need to edit, then having to make another copy of the data to make changes to it, and then paste back.</p>
<p>Here is a need for a paradigm shift for working with a filtered table. When a filter is created on a layer, the GUI should create a temporary copy of the table, apply the filter to it and use that copy for the displaying of data. But allowing the user to edit the real table. Or something like that.</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=861762018-01-25T14:22:32ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Regression?</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Affected QGIS version</strong> changed from <i>2.18.12</i> to <i>2.18.16</i></li></ul> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=879042018-02-28T07:42:32ZPatrick Dunfordenzedrailmaps@gmail.com
<ul></ul>I'm curious about all this because in 2.14 I can follow these steps
<ul>
<li>Put a filter onto a table</li>
<li>Put the table into edit mode</li>
<li>Add a new feature or change an existing one</li>
<li>Save the layer</li>
<li>Take the layer out of edit mode</li>
<li>Remove the filter<br />without apparently any repercussions.</li>
</ul>
<p>The layer type is a shapefile.</p>
In view of the additional restrictions being applied in 2.18 and later maybe there are some questions that could be answered in another forum? Maybe they already have.
<ol>
<li>What is the technical reason for the limitation being desirable</li>
<li>Is there a technical reason for the change being necessary after 2.14 but not an issue in 2.14</li>
<li>Is there a different file based layer type that does not require these limitations.</li>
</ol>
<p>TIA</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=879302018-02-28T10:18:14ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Affected QGIS version</strong> changed from <i>2.18.16</i> to <i>2.18.17</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><blockquote>
<p>The layer type is a shapefile.</p>
In view of the additional restrictions being applied in 2.18 and later maybe there are some questions that could be answered in another forum? Maybe they already have.
<ol>
<li>What is the technical reason for the limitation being desirable</li>
<li>Is there a technical reason for the change being necessary after 2.14 but not an issue in 2.14</li>
<li>Is there a different file based layer type that does not require these limitations.</li>
</ol>
</blockquote>
<p>you have a better chance to have answers if you post your doubts in the users/developers mailing lists.</p>
<p>Anyway, the "normal" behavior is/was that filtered shapefiles/gpkgs/spatialite are not editable. This has always been the case in QGIS and as far I can see now is also the case on 2.18.16 and QGIS 3. Of course the fact that is possible to edit a filtered shapefiles/gpkgs/spatialite in QGIS 2.14(.22) raises questions.</p>
<p>This ticket can probably be closed as now the behavior is consistent (but the above question is of course very interesting).</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=880012018-03-01T09:22:23ZAntonio Viscomiantoviscomi@gmail.com
<ul></ul><p>Patrick Dunford wrote:</p>
<blockquote>
I'm curious about all this because in 2.14 I can follow these steps
<ul>
<li>Put a filter onto a table</li>
<li>Put the table into edit mode</li>
<li>Add a new feature or change an existing one</li>
<li>Save the layer</li>
<li>Take the layer out of edit mode</li>
<li>Remove the filter<br />without apparently any repercussions.</li>
</ul>
</blockquote>
<p>Hi,<br />the filter I applied wasn in Properties --> query builder (not in attribute table) because I need to see only filtered records on the canvas;<br />the filter applied on attribute table works fine but don't filter the shapefile in the canvas then the issues is a little bit different...</p>
<blockquote>
<p>The layer type is a shapefile.</p>
In view of the additional restrictions being applied in 2.18 and later maybe there are some questions that could be answered in another forum? Maybe they already have.
<ol>
<li>What is the technical reason for the limitation being desirable</li>
<li>Is there a technical reason for the change being necessary after 2.14 but not an issue in 2.14</li>
<li>Is there a different file based layer type that does not require these limitations.</li>
</ol>
<p>TIA</p>
</blockquote> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=880042018-03-01T09:40:50ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><blockquote>
<p>Hi,<br />the filter I applied wasn in Properties --> query builder (not in attribute table) because I need to see only filtered records on the canvas;<br />the filter applied on attribute table don't works fine but don't filter the shapefile in the canvas then the issues is a little bit different...</p>
<blockquote>
</blockquote></blockquote>
<p>I'm not sure I understand the above.<br />The filter in vector properties > query builder effectively will show you only filter records and features. The second part is not clear at all. I'm also not sure if the comment fits the issue described in this ticket.</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=881462018-03-01T15:11:43ZAntonio Viscomiantoviscomi@gmail.com
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote><blockquote>
<p>Hi,<br />the filter I applied wasn in Properties --> query builder (not in attribute table) because I need to see only filtered records on the canvas;<br />the filter applied on attribute table works fine but don't filter the shapefile in the canvas then the issues is a little bit different...</p>
<blockquote>
</blockquote></blockquote>
<p>I'm not sure I understand the above.<br />The filter in vector properties > query builder effectively will show you only filter records and features. The second part is not clear at all. I'm also not sure if the comment fits the issue described in this ticket.</p>
</blockquote>
<p>The second part is referred only to the steps described in the first post by <br />Patrick Dunford, because It applied a filter onto attribute table, not on layers proprierties...</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=882532018-03-03T17:36:08ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><blockquote>
<p>The second part is referred only to the steps described in the first post by <br />Patrick Dunford, because It applied a filter onto attribute table, not on layers proprierties...</p>
</blockquote>
<p>I still don't understand how this is related to the original description of this issue.</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=886352018-03-11T13:17:47ZArjan Mossel
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>I still don't understand how this is related to the original description of this issue.</p>
</blockquote>
<p>I think I do. You said "This ticket can probably be closed as now the behavior is consistent", but it would be very useful for the behavior to be consistent the other way, with filtered layers always editable.</p>
<p>Because now it is not possible to have a filtered layer on the canvas and be able to edit its attributes. This is also what I'm looking for.</p>
<p>Edit: found <a class="issue tracker-2 status-1 priority-4 priority-" href="https://issues.qgis.org/issues/13292" title="Being able to edit layer if there is a Feature filter (Open)">#13292</a> for this.</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=922972018-08-29T15:01:35ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Affected QGIS version</strong> changed from <i>2.18.17</i> to <i>3.2.2</i></li></ul><p>See also <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/19699" title="Removing Filter on shape file layer does not restore read-write permissions - editing refused unt... (Closed)">#19699</a></p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=923152018-08-29T17:29:08ZJürgen Fischerjef@norbit.de
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority- closed" href="/issues/19699">Bug report #19699</a>: Removing Filter on shape file layer does not restore read-write permissions - editing refused until reload</i> added</li></ul> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=938802018-10-04T19:25:59ZAntonio Viscomiantoviscomi@gmail.com
<ul></ul><p>In fact any change in snap tolerance setting don't solve the issues</p> QGIS Application - Bug report #17124: Editing behavior of filtered layers is inconsistenthttps://issues.qgis.org/issues/17124?journal_id=938922018-10-04T20:43:51ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Antonio Viscomi wrote:</p>
<blockquote>
<p>In fact any change in snap tolerance setting don't solve the issues</p>
</blockquote>
<p>this ticket isn't related at all to snapping.</p>