https://bugs.documentfoundation.org/show_bug.cgi?id=98415

            Bug ID: 98415
           Summary: Size of an image is not always set correctly
           Product: LibreOffice
           Version: 5.1.1.1 rc
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

I wanted to replace an image with another one and this is what happened:

1. On making a right click on the existing image (dimension of 200 px x 258 px)
and choosing "Format Image..." in the register "Type" the size is 5.42 cm for
the width and 7.00 cm for the height. The image was also saved by keeping the
aspect ratio but this is not shown because of bug #98413.
2. On changing to the register "Image" and selecting another file (an image
with a dimension of 166 px x 250 px), changing back to the register "Type",
clicking "Original Size", selecting "Keep ratio" and changing the height back
to 7.00 cm the width is shown as 5.43 cm.
3. On cliking "OK" the image looks distorted and on making a right click on the
image and selecting "Format Image..." the width is shown as 5.42 cm.


Expected results:

- At 3. I would expect to see the saved value (5.43 cm) for the width and not
5.42 cm.
- At 2. I would expect to see a width of 4.65 cm instead of 5.43 cm.


For the last point changing the image does change the preview but it looks like
that there are still references to the attributes of the old image.

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

Reply via email to