Bug report #4174
Rasters are not rendered again when changing project CRS with render caching enabled
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14150|
If both render caching and on-the-fly reprojection are enabled, when I change the project CRS, the vector layers disappear, but the raster layers do not (until I pan or zoom). If render caching is disabled, everything disappears.
This is because the window extents remain the same, and the raster layers are not rendered again when changing project CRS if render caching is enabled.
Ideally the window extents should be reprojected into the new project CRS (i.e. they should change so that nothing disappears because the same part of the earth is still being displayed).
But until that is implemented it would be less confusing if the raster layers were rendered again when changing project CRS with render caching is enabled.
(I'm using trunk on Windows)