Feature request #3524

Vector layer placement in leged on adding a new one

Added by marisn - about 6 years ago. Updated over 1 year ago.

Status:Open Start Date:
Priority:Low Due date:
Assigned to:- % Done:


Category:Map Legend
Target version:Future Release - Nice to have
Platform:Gentoo Resolution:
Platform version: Pull Request or Patch supplied:No
Status info:0 Tag:


Current QGIS version adds vector layers in some random order (as selected?) if multiple vector layers are added at the same time. It would be nice to sort those new layers by type: points at the top, lines in the middle, polygons at the bottom. IMHO rasters also should go to the bottom by default.

QGIS_layer_order.png - All layers where added in one step. They should be ordered acording to numbers next to layer names. (137.6 kB) marisn -, 03/04/2011 10:24 am


Updated by Paolo Cavallini about 6 years ago

I think the order is the same as in the TOC, which seems appropriate because is the same order as they are shown. Please expalin if I'm missing something, or close this down otherwise. Thanks.

Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

Updated by Giovanni Manghi about 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Médéric RIBREUX over 1 year ago

  • Status changed from Open to Feedback
  • Assigned to deleted (nobody -)
  • Pull Request or Patch supplied set to No

Hello, bug triage...

I don't know what to do with this feature request...
For the moment, layers from all connections dialog boxes and from vector files are opened in the reverse alphabetic order name of the layer.

We could have the following:

- Stack with alphabetic name order.
- Stack with file selection order (QFileDialog that keeps the clicks order).
- Stack with the "geometric" rule: Points layers on top, followed by Lines layers followed by polygons layers.
- Stack with a custom "geometric" rule made by the user (who set the geometric order according to what he wants).

Perhaps we need to introduce a dedicated setting for this in Settings -> Canvas & Legend -> Layer legend (or another GroupBox) ?

Updated by Médéric RIBREUX over 1 year ago

  • Status changed from Feedback to Open

Also available in: Atom