Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#633 closed bug (fixed)

Scale on toolbar has insufficient range

Reported by: g_j_m Owned by: timlinux
Priority: critical: causes crash or data corruption Milestone:
Component: MapCanvas Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: yes

Description

As of r6747 the 1:xxx scale on the qgis toolbar is now limited to the range of a long variable. This is insufficient for many situations. e.g., load an image, and set the scale to 1:10, then 1:100, 1:1000, etc,. Eventually the displayed scale will change to -2147483648.

In a similar manner, setting scales of less than 1:1 is not possible. If I try to set the scale to 1:0.5, qgis displays it as 1:-2.

I also recall in earlier versions of qgis that if the scale went to something like 1:0.001, it would be displayed at 1000:1. It would be nice for this to be re-introduced.

Attachments (1)

scale.png (109.8 KB ) - added by homann 17 years ago.
Canada, Alaska and Russia at 1:2000000000 scale. Do you want to zoom out more?

Download all attachments as: .zip

Change History (9)

comment:1 by homann, 17 years ago

Tmi said that scale less than 1:1 wasn't supported by Qgis?

by homann, 17 years ago

Attachment: scale.png added

Canada, Alaska and Russia at 1:2000000000 scale. Do you want to zoom out more?

comment:2 by homann, 17 years ago

Awaiting user input: set
Owner: changed from homann to timlinux

in reply to:  2 comment:3 by g_j_m, 17 years ago

Replying to homann:

One never knows what the user wants to do. Arbitrary limits on the scale are a bad idea.

comment:4 by g_j_m, 17 years ago

Qgis has supported scales of less than 1:1 for about 18 months.

I propose that r6747 either be reverted or fixed so that it doesn't remove existing functionality.

comment:5 by homann, 17 years ago

Just removing it because the UI is not 100% is plain silly. There was two enhacenment request for this feature, and I implemented a first version. I did not expect to get flak for that.

We have about 17 developers, how many of them need to agree on what the UI should look like before we can implement?

Gavin, why don't you tell us what it *should* look like instead?

comment:6 by anonymous, 17 years ago

Hi Guys

Let me apologise as I am probably the cause of this confusion - I told Magnus on IRC that I thought we had decided at one point to support a minimum scale of 1:1. I didnt check my facts by googling IRC etc since I am pretty busy at the moment. IMHO Magnus is adding something nice to QGIS so lets just discuss what the preferred behaviour is.

comment:7 by g_j_m, 17 years ago

Resolution: fixed
Status: newclosed

Range expanded to that of a double in r6754.

comment:8 by (none), 15 years ago

Milestone: Version 0.9

Milestone Version 0.9 deleted

Note: See TracTickets for help on using tickets.