Bug report #4110
order of layers changes when they are added to a group
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14092|
Open a project, create a new group, select some layers and drag them into the group. The order of the layers will change (if it does not, maybe try it again after changing the order of the layers).
It would be nice if the order stayed the same.
#5 Updated by Médéric RIBREUX about 7 years ago
Hello, bug triage...
in QGIS 2.13 master, the layers are added in the selection order if you have used Ctrl + Mouse click to select the layers.
They are added on the first order when selected with Shift + Mouse click.
So, if you have selected two layers in a reverse order with Ctrl, the layers will be added in this reverse order in the group.
We need to fix this behavior: Ctrl selection should preserve the layer order.