https://bugs.freedesktop.org/show_bug.cgi?id=80281

          Priority: medium
            Bug ID: 80281
          Assignee: [email protected]
           Summary: FORMATTING: "Keep aspect ratio" checkbox of images or
                    photos not always honoured
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.3.0.1 rc
         Component: Writer
           Product: LibreOffice

As a user I expect that the aspect ratio of an image is kept intact if the
corresponding checkbox "Keep aspect ratio" is set, no matter *when* it was set.

To reproduce:
1. Open a new text file.
2. Insert an image or photo into the page
3. Double-click on image to open image properties dialog
4. Ensure the "Keep aspect ratio" checkbox is off.
4. Choose a width of e.g. 20% (relative to text area)
5. *Then* check the "Keep aspect ratio" checkbox
6. Click OK

Expected result:
- Since the checkbox was checked when OK was clicked, the image should be
scaled proportionally

Actual result:
- Since the checkbox was unchecked in the moment when the new size was
*entered*, it did not scale the image proportionally when the dialog was
closed.

I propose that as soon as the "Keep aspect ratio" checkbox is set, the aspect
ratio is forced back to the image ratio the photo had when the dialog was
opened, by honouring either the width or height parameter, whatever was changed
last. This would be a behaviour consistent with several image processing
applications I use.

(Side node: It would be nice if there were a possibility to restore the photos
original aspect ratio at any time, but this would go as another feature
request.)

Operating System: Windows 7
Version: 4.3.0.1 rc

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to