#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:
- start QGIS
- set project Projection
- add a layer
- note the scale and extents in the status bar (this is extent of layer and scale as displayed on loading the layer)
- zoom in or out (mouse wheel zoom is convenient) so the view is different from initial layer adding
- note the scale and extents
- save the Project
- load the project saved in step 7
- the scale and extents are what was noted in step 4. The expected values are what was noted in step 6.
- 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.
Note:
See TracTickets
for help on using tickets.
scale display fixed in r9772. The cursor position and extent seem ok AFAICS.