Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2098 closed defect (fixed)

[PATCH] different zoom steps on zooming in or out

Reported by: anonymous Owned by: framm
Priority: minor Component: Core
Version: latest Keywords:
Cc:

Description

If you zoom in the zoom step is bigger than if you zoom out.

Doesn't matter if you use the scroll button or the keyboard.

Attachments (1)

zoom.patch (3.0 KB) - added by jttt 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 4 years ago by xeen

Do you mean that the zoom doesn't work in a linear way or do you mean that if you're at say 100 m, zoom one tick in and one tick out again and are at 93 m instead of 100 m like before?

comment:2 Changed 4 years ago by anonymous

I mean the second case.

comment:3 Changed 4 years ago by Schusch

as long as the scale can't be defined otherwise (see #2112) please leave the behaviour that way - there is no other way to change the scale just a bit than by repeating to zoom in and out for some times

comment:4 Changed 4 years ago by jttt

  • Summary changed from different zoom steps on zooming in or out to [PATCH] different zoom steps on zooming in or out

Attached patch fix the bug and also two other cosmetic zooming issues:
1) MapScaler is not updated when MapView is created
2) When you zoom using mouse wheel without moving the mouse then map position sligtly change anyway

About Schusch comment, if there is need for more precice scalling then maybe JOSM should use smaller zooming steps if there is some modifier key (like Shift) pressed

Changed 4 years ago by jttt

comment:5 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

In r1518.

comment:6 Changed 4 years ago by Schusch

In the patch from xeen for bugreport #2112 there is a solution for selecting a wanted scale with the utilsplugin - it works great. So there is no explicit need for small changes of the zoom level by zooming in and out ... one can define the wanted scale exactly now; thanks for you work!

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.