[Libreoffice-ux-advise] Keep-ratio behaviour

Astron heinzlesspam at googlemail.com
Fri Nov 4 09:15:35 PDT 2011


HI Thorsten, everyone else,

>> Should it be?
>>
> Well, you tell me? ;)

The way I see it, the feature could be implemented in two very different ways:

1.  Apply "keep ratio" on image import, the setting is saved with the
file. Unless the users explicitly unticks "keep ratio," the setting is
persistent.
pro:
* requires active user intervention to disable

con:
* requires non-standard ODF extension (but might become standard in
the future), handling problems for documents edited with other ODF
software
* would only work for newly imported images
* would only work in ODF documents
* might necessitate adding "keep ratio" to the context menu
* requires active user intervention to disable


2. Apply "keep ratio" when trying to resize an image displayed at the
original aspect ratio (or an aspect ratio very close to the original
[1]) with the corner handles. The setting is not actually persistent,
but appears so in many circumstances.
pro:
* works inside all document types (even doc/wps/...)
* turns on/off automatically
* no new UI necessary

con:
* user can't explicitly turn it on/off
* using side handles to override ratio setting might not be very
apparent to users

I am almost convinced now that 2 is better... at least, if the second
con can be resolved.
There are of course different ways to go in between these two
extremes, but I didn't see any that I found very appealing.


Astron


[1] In some cases there might be rounding errors etc., so we need to
be prepared.


More information about the Libreoffice-ux-advise mailing list