https://issues.qgis.org/https://issues.qgis.org/favicon.ico2017-08-18T09:55:59ZQGIS Issue TrackingQGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=816392017-08-18T09:55:59ZAlessandro Pasotti
<ul></ul><p>I think this is an upstream OGR/GDAL bug: I'm using GDAL/OGR API do delete the layers.</p>
<p>See: <a class="external" href="https://github.com/qgis/QGIS/blob/master/src/providers/ogr/qgsogrprovider.cpp#L4331">https://github.com/qgis/QGIS/blob/master/src/providers/ogr/qgsogrprovider.cpp#L4331</a></p> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=816412017-08-18T09:59:33ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>up/downstream</i></li></ul> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=816612017-08-18T15:27:46ZLoïc BARTOLETTI
<ul></ul><p>Alessandro Pasotti wrote:</p>
<blockquote>
<p>I think this is an upstream OGR/GDAL bug: I'm using GDAL/OGR API do delete the layers.</p>
<p>See: <a class="external" href="https://github.com/qgis/QGIS/blob/master/src/providers/ogr/qgsogrprovider.cpp#L4331">https://github.com/qgis/QGIS/blob/master/src/providers/ogr/qgsogrprovider.cpp#L4331</a></p>
</blockquote>
<p>OK, I understand that is not a problem with QGis but with GDAL/OGR API, and so it's not a bug but for an end user, the folder it's not cleaned.</p>
<p>So, what about to have a feature to answer some (maybe bad...) usages? I have exposed a simple case, but also you can have user which using the same name of a layer and want also remove (or rename) it like a .pdf or .txt...</p>
<p>Thanks.</p> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=817132017-08-22T09:01:47ZLoïc BARTOLETTI
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=817202017-08-22T09:31:43ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Feedback</i></li></ul><p>Why reopened? If there is a good reason this should be left here, and the resolution field changed.</p> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=817492017-08-24T06:36:26ZLoïc BARTOLETTI
<ul></ul><p>Sorry, I did not see that my message was not added, my bad.</p>
<p>I reopened the subject because I posted a message after its closure and I think that even if it is not a bug of QGis, the users can hope for a "complete" cleaning of files (it is the same thing for a renaming). It would be nice to indicate to the user that files having the same name were not deleted and to propose its deletion (the same for renaming).</p>
<p>If you prefer, we change a bug report to a feature request.</p> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=817592017-08-24T09:35:26ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li><li><strong>Tracker</strong> changed from <i>Bug report</i> to <i>Feature request</i></li><li><strong>Subject</strong> changed from <i>delete shapefile in browser</i> to <i>delete (or propose to) all files of a shapefile with browser</i></li><li><strong>Resolution</strong> deleted (<del><i>up/downstream</i></del>)</li></ul> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=890802018-04-04T08:26:31ZFrank Sokolicsokolic@worldonline.co.za
<ul></ul><p>.qpj files are not deleted either. Deleting these files could also be part of the feature request.</p> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=1035632019-03-31T19:41:23ZAndrea Giudiceandreaandreaerdna@libero.it
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority- closed" href="/issues/21495">Bug report #21495</a>: Deleting shapefiles from the browser panel does not delete all the files</i> added</li></ul> QGIS Application - Feature request #17032: delete (or propose to) all files of a shapefile with browserhttps://issues.qgis.org/issues/17032?journal_id=1035672019-03-31T21:33:22ZNyall Dawson
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in gdal</p>