Bug report #8963
Composer Map extents loss of precision in project file
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17627|
Saving a project with a composer map in a composer results in a loss of precision in the extents. When the project is reloaded the extents are changed which changes the scale resulting in incorrect maps.
This seems to be caused by using
QString::number when saving the extents. Using
QString::number(extent, "g", 10) saves the correct extents.