Opened 14 years ago

Last modified 14 years ago

#2302 new bug

render caching places map in wrong place when re-enabling

Reported by: smizuno Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: MapCanvas Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

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.

  1. 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.

Change History (2)

comment:1 by pcav, 14 years ago

Must Fix for Release: YesNo

comment:2 by lutra, 14 years ago

confirmed with r13699 under Ubuntu linux.

Note: See TracTickets for help on using tickets.