[Libreoffice-ux-advise] [PATCH] Mouse centered zooming

Tim Hardeck thardeck at suse.de
Tue Apr 17 05:44:09 PDT 2012


so I did some testing and I think the most confusing part is the
reversed shifting during zoom out.

Since the image section is increased during zoom out normally no
additional focus is needed that's why I have disabled shifting during
zoom out.

This again might result into a little problem with Calc since it doesn't
focus the center during zoom but always keeps the upper left cell where
it is.
But the upper left cell anchor only does make sense for Calc without
mouse centered zooming because with it the user can control the focus
during zooming in.

For example without mouse centered zooming if a user wants to increase
the view of a cell on the right or bottom it does get shifted out of the
screen while zooming in so s/he would always have to use the scroll bars

I haven't changed the focus of Calc with this patch yet but if my
current concept looks more promising then the last I can implement
screen centered zooming for Calc so all LO apps would act the same.

So what do you think?


On 04/16/2012 01:29 PM, Michael Meeks wrote:
> Hi Tim,
> On Thu, 2012-04-12 at 21:35 +0200, Tim Hardeck wrote:
>> During zoom out the direction is reversed to get back near the starting
>> point. This is disabled for Calc since it doesn't focus the center but
>> instead keeps the upper left cell where it is so reversing the zoom
>> direction feels not intuitive.
> 	I gave this a test, and it's unclear quite what to expect here. eg. I
> create a draw document, insert a stock box shape in the top right, move
> my mouse to over the top of a specific corner of that, and scroll-in.
> 	What I'd expect (perhaps) is that the point that the mouse is over
> grows large around that point, ie. that point would be the equivalent of
> the center between two fingers of 'pinch to zoom' ;-) it seems instead
> that what is (was) underneath the mouse moves to the centre of the
> screen - is that intended ?
> 	Also - if I zoom in,  move the mouse and zoom in again - then zoom out
> the behaviour can seem a little strange ...
> 	IMHO we need some more UI thought / testing around this before merging
> (sorry to be a pain ! ;-) hopefully there are other, easier things to be
> done in parallel while the spec. firms up - and sorry for landing you
> with this deeply vague task ;-)
> 	Thanks !
> 		Michael.

SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
T: +49 (0) 911 74053-0  F: +49 (0) 911 74053-483
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Mouse-centered-zooming.patch
Type: text/x-patch
Size: 19837 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120417/981d975e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120417/981d975e/attachment-0001.pgp>

More information about the LibreOffice mailing list