Bug report #2857
Automatically change tools and right menu issue
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||12917|
1. Open raster layer;
2. Choose Measure Line or Measure Area tool and get an error message:
This map is defined with a geographic coordinate system (latitude/longitude) but the map extents suggests that it is actually a projected coordinate system (e.g., Mercator). If so, the results from line or area measurements will be incorrect.
3. Press Ok;
4. Choose Pan Map tool and click right button in the View. Pan Map tool automatically changes to Measure Line or Measure Area tool (the first bug) and throws up error message.
5. Click Ok and get right menu (the second bug).
#5 Updated by Jürgen Fischer over 8 years ago
What raster did you open and what coordinate system did it have (or which one did QGIS detect)?
I guess it didn't have any usable information about it's coordinate system and therefore defaulted to WGS84, but did have coordinates outside -90°-90°/-180°-180°.
If so, there is no bug at all. Both restoring the last non-zoom tool on right click and complaining about invalid coordinates are features (ie. intended behaviour).