<div dir="auto"><div><div>Richard and list,</div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jun 4, 2025, 08:00 Richard Duivenvoorde via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi People,<br>
<br>
A user had an issue in which she 'copied' a layer, edited it and then found out she edited the original data...<br>
<br>
My response was: yes (join the club ;-)) it is called 'duplicate', but it only duplicates the layer, NOT the data.<br>
<br>
Then she responded: but I did not use 'duplicate', I used 'copy layer' ...<br>
<br>
Then I found out they indeed both exist in the context menu, and actually do the same thing... ???<br>
(tested with a gpkg and a shapefile)<br>
<br>
So my questions:<br>
- should there be 2 context menu items for the same thing (the always tricky 'duplicate' which (in my view) counter-intuitive does not duplicate data)<br>
- should these 2 functions not behave different?<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">(Without a working QGIS for now as I await the latest release for Ubuntu 25.04, so I cannot confirm my comments below with testing...)</div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It's my recollection that I too have fallen for the same false solution to my problem.</div><div dir="auto"><br></div><div dir="auto">I think my current approach is to "save as..." and have the saved copy show up as a new layer; is that what most people do when they want to creat a copy of a layer for editing?</div><div dir="auto"><br></div><div dir="auto">From that perspective, why not just get rid of both the "duplicate" and "copy" layers since (if I am not wrong) one can equally just open the same data set as a new layer?</div><div dir="auto"><br></div><div dir="auto">It doesn't seem that we benefit much by those and apparently some of us have found them distracting...</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>