Bug report #1561

Choosing missing layer when opening project file places on top of layer list

Added by John Tull over 10 years ago. Updated about 10 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Map Legend
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11621

Description

When you have a missing layer when opening a qgs project file, you have the option to find the missing reference file with a dialog. When you choose the correct reference file, instead of keeping the layer/reference file in the same relative position within your layers or "map legend", the layer is promoted to the topmost position. This affects the map canvas by changing the order of your layers. The ideal behavior would be to keep the layer in the same relative position amongst the layers in the map canvas as it is in the qgs project file when opened. I assume this behavior is the same across platforms, but I've only tested on OS X.

Associated revisions

Revision 19f18d99
Added by Magnus Homann about 10 years ago

Re-order layers after finding missing files. Also restructured the exception logic in qgisapp.cpp. Fixes #1561

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 6bff6a69
Added by Magnus Homann about 10 years ago

Re-order layers after finding missing files. Also restructured the exception logic in qgisapp.cpp. Fixes #1561

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Giovanni Manghi about 10 years ago

I confirm that it behave the same on linux and windows too. Used qgis 1.2 from trunk.

#2 Updated by Magnus Homann about 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Fixed in 6bff6a69 (SVN r11364).

Also available in: Atom PDF