[Libreoffice-bugs] [Bug 98415] Size of an image is not always correctly set

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 3 21:00:59 UTC 2017


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

sworddragon2 at aol.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #4 from sworddragon2 at aol.com ---
(In reply to Buovjaga from comment #2)
> You did not mention, if you had resized the image before step 1. I did not
> resize.

I don't remember but I think for Writer's view the image was on its original
size.

On trying to reproduce this with Calc 5.3.1.2 and creating an image with a
dimension of 200px x 258px and inserting it it has now a width of 5.77cm and a
height of 7.45cm instead of the 5.42cm x 7.00cm as at the time I have reported
this issue. However, on going into "Properties..." from the image context menu
and replacing the image on the "Image" register with one that has a dimension
of 166px x 250px and changing back to the "Type" register the width and height
is still 5.77cm x 7.45cm and clicking on "Original Size" doesn't change these
values which seems now to be an incorrect behavior.

If I try to workaround this issue by pressing "OK" first after replacing the
image and reopening "Properties..." from the context menu of the image again
and then going to the "Type" register, clicking "Original Size", "Keep ratio"
and then changing back the height to 7.45cm again the width is shown as 4.95cm
(sometimes even as 4.94cm so there seems to be still a bug here) and on
pressing OK the image looks still distorted while it shouldn't and on going to
"Properties..." from the image context menu again the width is now shown as
5.77cm.

As this post shows there are several bugs on this task and maybe they should be
just split into its own tickets.


If I'm now not totally wrong the only partially fixed thing is now:

>- At 2. I would expect to see a width of 4.65 cm instead of 5.43 cm.

in case it is not a consequence of the workaround because I saw now the lower
width but it seems it was now just not correctly applied to the image on
clicking "OK".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170503/ae3a17d6/attachment.html>


More information about the Libreoffice-bugs mailing list