[Libreoffice-ux-advise] [PATCH] Mouse centered zooming for Impress/Draw concept

Tim Hardeck thardeck at suse.de
Fri Feb 24 08:51:11 PST 2012


On 02/24/2012 03:58 PM, Stefan Knorr (Astron) wrote:
>> I just want some early feedback from you so I don't implement it in the
>> "wrong direction".
> 
> There is one thing that I think you should change: zooming out should
> happen as before. Mouse-centered zooming out means that more often
> than not I land in the page background which isn't so useful.
After testing your suggestion and the reverse zoom out the later feels
more natural to me.
I have quickly adapted my patch to compare.

By default the direction during zoom out is reversed to get back near
the starting point.
Additionally bReverseZoomOut in sd/source/ui/view/viewshel.cxx could be
set to false to not change the center during zoom out.

Regards
Tim

-- 
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
http://www.suse.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Mouse-centered-zooming-for-Impress-Draw-concept.patch
Type: text/x-patch
Size: 6938 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice-ux-advise/attachments/20120224/af79c7e6/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-ux-advise/attachments/20120224/af79c7e6/attachment-0001.pgp>


More information about the Libreoffice-ux-advise mailing list