Bug report #6686
Embedded layers from projects with groups misbehaving
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Project Loading/Saving | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | not reproducable |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 15854 |
Description
When I embed layers from an existing project, I get unusual and incorrect behavior when the embedded project file has layers in groups. Basically, grouped layers are added to the existing project correctly, but any ungrouped layers are placed within the last/lowest group from the original project file. I've attached a couple of screenshots to illustrate this. The first show the list of available groups and layers in the project being embedded. I've selected all and embedded them into the map legend/canvas. The second shot shows how these layers were handled with the top-most layer that was not grouped (Inventory) being placed into the "group1" group incorrectly. The group1 group is the "last" group in the embedded project.
If I save this project and reopen it, the groups and the layers correctly placed into their groups are shown, but the layer that was incorrectly placed into group1 is no longer in the project. This is shown in the third screenshot.
Related issues
History
#1 Updated by Jürgen Fischer over 10 years ago
- Category set to Project Loading/Saving
#2 Updated by Sebastian Dietrich almost 9 years ago
I can not reproduce using current master (917dd055198f52b6288210d0a11f304aeacc2976). Can you test with master/latest nightly again?
If you still encounter the error, could you attach the project file you are embedding from?
#3 Updated by Giovanni Manghi almost 9 years ago
- Status changed from Open to Feedback
#4 Updated by Giovanni Manghi almost 9 years ago
- Resolution set to not reproducable
- Status changed from Feedback to Closed
Sebastian Dietrich wrote:
I can not reproduce using current master (917dd055198f52b6288210d0a11f304aeacc2976). Can you test with master/latest nightly again?
If you still encounter the error, could you attach the project file you are embedding from?
closing for lack of feedback, please reopen if necessary.