[Libreoffice-ux-advise] [PATCH] use a geometric progression for zooming

Cor Nouws oolst at nouenoff.nl
Mon Jan 16 03:35:06 PST 2012

Hi Tim,

Tim Hardeck wrote (14-01-12 18:21)

> I have created a patch to address fdo#44173.
> Zooming does now base on a geometric progression instead of an
> arithmetic one. Since the zoom factor is not only used in Draw but
> for all other applications 1.2 seems like a good choice but the value
> could be easily changed in one place.

Thanks - useful idea :-)

I am looking at the factor 1.2
That means that when zoom is 100, the next will be 120.
The sequence (if round in Calc does the same as in C++) would look like:

IMO that leaps are too large, so I would advise 1.1 at most
( at the slider currently + / -  is 5%)

Factor 1.1 will give the sequence

However, it results in numbers that might look weird to users ?
Maybe a different algorithm / simply table giving steps is better for that?
Hmm, how would that show for CTL languages?

> The change does not only influence mouse zooming but also the plus
> minus slider buttons.
> The patch should be already committed so you can test it with a
> current git version.

(I did not test it yet, just imagined how it would behave)


  - Cor
  - http://nl.libreoffice.org

More information about the Libreoffice-ux-advise mailing list