Bug report #16337

Wrong CRS displayed in status bar

Added by Saber Razmjooei about 7 years ago. Updated about 7 years ago.

Category:Projection Support
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 #:24247


This is related to the new feature (https://github.com/qgis/QGIS/pull/4198) to set the OTF on as default.

To reproduce the issue:
1- Under Settings > Options > CRS set your default CRS to British National Grid (EPSG:27700)
2- Restart QGIS > you should see EPSG:27700 in the status bar
3- Add the world.shp (EPSG:4326)
4- The CRS is still showing EPSG:27700
5- Add somerset.shp (EPSG: 27700) > The canvas is reprojecting the layer to EPSG:4326

Confusing points:
1- Why doesn't the EPSG in the status bar get updated to EPSG:4326 (see point 4)
2- If user sets the canvas to default CRS for canvas to EPSG:27700 (point 1) why the canvas changes to the first layer CRS?

world.zip - world map (3.94 MB) Saber Razmjooei, 2017-03-10 01:36 AM

somerset.zip (132 KB) Saber Razmjooei, 2017-03-10 01:37 AM

Associated revisions

Revision 0afc88e0
Added by Nyall Dawson about 7 years ago

Make sure main canvas is always synced to project CRS (part 1)

Fix #16337


#1 Updated by Saber Razmjooei about 7 years ago

#2 Updated by Giovanni Manghi about 7 years ago

  • Target version set to Version 3.0
  • Category set to Projection Support

#3 Updated by Nyall Dawson about 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF