render caching places map in wrong place when re-enabling #12362
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Map and Legend
Related to map or legend rendering
Milestone
Author Name: Steven Mizuno (Steven Mizuno)
Original Redmine Issue: 2302
Affected QGIS version: master
Redmine category:map_canvas
simple steps to reproduce with new project:
caching ON
load map layer
caching OFF
pan map a noticeable amount
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.
-- 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.
The text was updated successfully, but these errors were encountered: