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

Tim Hardeck thardeck at suse.de
Mon Mar 5 02:28:45 PST 2012


Hi Stefan,

I think that it has something to do with the rendering not my zoom function.

As soon as the document is so small that it fits the window area there
is no need to to go further to one corner that's why the document is
centered below a certain zoom value I suppose.
You can see that the scroll bars hit the top, right (if you zoomed to
the bottom left) during the turning point.

Regards
Tim

On 02/24/2012 09:45 PM, Stefan Knorr (Astron) wrote:
> Hi Tim,
> 
> I have just played around with the behaviour you implemented. Often it
> works quite well, but sometimes it does something I find quite odd. It
> can be reproduced this way:
> * open Draw
> * draw a few large-ish shapes (e.g. one for every corner of the
> document), so you can see where you are moving
> * now centre the mouse over the page and start to zoom in, to ~150%
> * move the mouse into the direction of one of the corners (I usually
> use the bottom left), and zoom in further from there, to ~500%
> * keep the mouse where it is, and zoom out
> 
> While zooming out, you'll notice that the document is moving under the
> mouse pointer, so initially you move towards the (diagonally) opposing
> corner, the corner often even comes into view, and only then you move
> back to the centre of the document.
> 
> Astron.


-- 
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: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice-ux-advise/attachments/20120305/6bd593c1/attachment.pgp>


More information about the Libreoffice-ux-advise mailing list