[QGIS-Developer] Copy layer vs Duplicate layer ???

Andrea Giudiceandrea andreaerdna at libero.it
Sat Jun 7 11:21:09 PDT 2025


> Nick Bearman nick at nickbearman.com
> Sat Jun 7 08:49:05 PDT 2025

> Interestingly keyboard shortcut Ctrl-C Ctrl-V doesn't copy and paste as 
> you might expect.
> Ctrl-C does nothing as far as I can tell. Ctrl-V gives me this message:
> Layer not editable: The current layer is not editable. Choose 'Start 
> editing' in the digitizing toolbar.

Hi Nick,
Ctrl+C and Ctrl+V (and Ctrl+X) actually work on the layer content, i.e. 
for features: they correspond respectively to the "Copy Features" and 
"Paste Features" (and "Cut Features") actions.
The "Layer not editable" message is expected if the selected layer is 
not in edit mode, since it is not possible to paste features in a layer 
not editable.

For further reference and details:

https://docs.qgis.org/3.40/en/docs/user_manual/introduction/qgis_gui.html#edit

https://docs.qgis.org/3.40/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#cutting-copying-and-pasting-features

Regards.

Andrea


More information about the QGIS-Developer mailing list