Should there be 2 context menu items for the same thing. --> rather not, it is 
confusing.

But otherwise, I would say that the current behaviour makes sense: when 
clicking a layer in the Layers window, the duplicate option in the context menu 
should duplicate the map layer, not the actual data. 

I would expect the latter behaviour in the context menu for data files in the 
Browser window. And than it probably should be called 'copy data' or something 
along those lines?

Just my 2ct as user.




On June 4, 2025 5:00:40 PM GMT+02:00, Richard Duivenvoorde via QGIS-Developer 
<qgis-developer@lists.osgeo.org> wrote:
>Hi People,
>
>A user had an issue in which she 'copied' a layer, edited it and then found 
>out she edited the original data...
>
>My response was: yes (join the club ;-)) it is called 'duplicate', but it only 
>duplicates the layer, NOT the data.
>
>Then she responded: but I did not use 'duplicate', I used 'copy layer' ...
>
>Then I found out they indeed both exist in the context menu, and actually do 
>the same thing... ???
>(tested with a gpkg and a shapefile)
>
>So my questions:
>- 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)
>- should these 2 functions not behave different?
>
>Regards,
>
>Richard Duivenvoorde
>
>_______________________________________________
>QGIS-Developer mailing list
>QGIS-Developer@lists.osgeo.org
>List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to