Bug report #2302
render caching places map in wrong place when re-enabling
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||12362|
simple steps to reproduce with new project:
1. caching ON
2. load map layer
3. caching OFF
4. pan map a noticeable amount
5. caching ON
-- the map is drawn at its original location (when loaded) AND reading the cursor location is wrong since the map extents set by the panning haven't changed.
6. caching OFF
-- now the map is drawn at the previously panned location and reading the cursor location is correct.
I believe the cached map should be invalidated (dump the cache) when caching is turned off, hence the map will be totally re-drawn when caching is enabled.