<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thanks Chris, Richard and Paulo for sharing your views. <br>
    </p>
    <p>I note that in 3.40.5, choosing 'Duplicate layer' does cause a
      pop-up notice to say:</p>
    <p>Layer duplication complete: Note that it's using the same data
      source.</p>
    <p>Although this does disappear after ~5 seconds.</p>
    <p>I tried 'copy layer' and was baffled for a moment, then I
      realised there was a 'paste layer' option which I had to do
      (before anything visible happened. Yes, the layer definition was
      copied to the clipboard when I clicked copy). <br>
    </p>
    <p>Both Duplicate layer and Copy-Paste layer work on multiple layers
      at once, and groups as well. <br>
    </p>
    <p>Interestingly keyboard shortcut Ctrl-C Ctrl-V doesn't copy and
      paste as you might expect. <br>
    </p>
    <p>Ctrl-C does nothing as far as I can tell. Ctrl-V gives me this
      message:</p>
    <p><span style=" font-weight:600;">Layer not editable: </span>The
      current layer is not editable. Choose 'Start editing' in the
      digitizing toolbar.</p>
    <p>So I think it would make sense to remove the 'Copy Layer' /
      'Paste Layer' options. <br>
    </p>
    <p>Thanks!<br>
      Nick.<br>
    </p>
    <div class="moz-cite-prefix">On 04/06/2025 20:01, chris hermansen
      via QGIS-Developer wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACc2_68KhwTt7xTUceCKUxxZT5PcZPtej2EZgAKDCsWXKUfFkQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
                moz-do-not-send="true" class="moz-txt-link-freetext">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"><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>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Nick Bearman
+44 (0) 7717745715
<a class="moz-txt-link-abbreviated" href="mailto:nick@nickbearman.com">nick@nickbearman.com</a>

Please let me know if I can make any adjustments related to disability or neurodivergence to improve how we interact.

Due to my own life/work balance, you may get emails from me outside of normal working hours. Please do not feel any pressure to respond outside of your own working pattern.</pre>
  </body>
</html>