Bug report #10758

drag and drop of layers or layers group between projects produces inconsistent results

Added by A mulazzani over 10 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Legend
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:19141

Description

With two qgis project opened, if I move a layer or a layer group from one project to another, picking it with the mouse pointer (keeping the left button pressed), the layer/group disappears from the first project, and doesn’t work in the one where it has been moved (only its name appears in the legend).
Copy and Paste command appears to be disabled to carry out this function.

History

#1 Updated by Paolo Cavallini over 10 years ago

  • Subject changed from copying layers or layer gruop between projects to copying layers or layer group between projects

#2 Updated by Giovanni Manghi over 10 years ago

  • Category set to Map Legend
  • Status changed from Open to Feedback

was this working on a previous qgis release?

#3 Updated by A mulazzani over 10 years ago

No, it wasn't. But I noticed that now is possibile to drag a layer or a group of layers from one project to another. But, as I wrote, the layer or group is removed from one legend and it doesn't work in the new one. Insteda I would expect to have it copied.
This would be a very useful function, when for example you need to prepare more maps with the same base map composed by many layers which should have the same look in all the maps.

#4 Updated by Giovanni Manghi about 10 years ago

  • Affected QGIS version changed from 2.4.0 to master
  • Subject changed from copying layers or layer group between projects to darg and drop of layers or layers group between projects produces inconsistent results
  • Status changed from Feedback to Open

#5 Updated by Jürgen Fischer about 10 years ago

  • Subject changed from darg and drop of layers or layers group between projects produces inconsistent results to drag and drop of layers or layers group between projects produces inconsistent results

#6 Updated by Ger CO almost 8 years ago

Any chance this feature will be included in V3?

#7 Updated by Ger CO almost 8 years ago

Any chance this feature will be included in V3?

#8 Updated by Nyall Dawson almost 8 years ago

I'm not aware of any plans to address this yet, but you can still make this part of QGIS 3. See http://nyalldawson.net/2016/08/how-to-effectively-get-things-changed-in-qgis/

#9 Updated by Peter Drexel almost 8 years ago

There is a plugin available to ~ do this:
https://github.com/gacarrillor/CopyLayersAndGroupsToClipboard

#10 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#11 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Closed
  • Resolution set to end of life

Also available in: Atom PDF