Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#998 closed defect (fixed)

scale and extents indicators set incorrectly on project load

Reported by: smizuno Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Project Loading / Saving Version: Trunk
Keywords: project load scale extent Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: no

Description

The scale and extents shown after loading a project are the results of the first layer loaded rather than after the project's saved view extents are applied.

I used r8242 to test the following steps, but the problem exists at least back to 0.9.1. This worked properly in 0.8.1.

Steps to show the problem:

  1. start QGIS
  1. set project Projection
  1. add a layer
  1. note the scale and extents in the status bar (this is extent of layer and scale as displayed on loading the layer)
  1. zoom in or out (mouse wheel zoom is convenient) so the view is different from initial layer adding
  1. note the scale and extents
  1. save the Project
  1. load the project saved in step 7
  1. the scale and extents are what was noted in step 4. The expected values are what was noted in step 6.
  1. zoom in or out; now the scale and extents are correct for the current zoom

I believe the cursor position indicator is also affected, but this is hard to demonstrate.

Change History (2)

comment:1 by jef, 15 years ago

Resolution: fixed
Status: newclosed

scale display fixed in r9772. The cursor position and extent seem ok AFAICS.

comment:2 by (none), 15 years ago

Milestone: Version 1.0.0

Milestone Version 1.0.0 deleted

Note: See TracTickets for help on using tickets.