[QGIS-trac] [Quantum GIS] #2302: render caching places map in wrong
place when re-enabling
Quantum GIS
qgis at qgis.org
Sat Dec 19 21:17:02 EST 2009
#2302: render caching places map in wrong place when re-enabling
------------------------------------------------+---------------------------
Reporter: smizuno | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.4.0
Component: MapCanvas | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
simple steps to reproduce with new project:[[BR]]
1. caching ON[[BR]]
2. load map layer[[BR]]
3. caching OFF[[BR]]
4. pan map a noticeable amount[[BR]]
5. caching ON[[BR]]
-- 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[[BR]]
-- 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.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2302>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list