[Libreoffice-bugs] [Bug 40469] Modifed Frame Style Options Not Preserved, "Keep Ratio" Option Unavailable

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 2 19:18:24 UTC 2020


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

--- Comment #30 from hardy <mathematikus at gmx.de> ---
Sorry for not responding ealier. (The notify email does not always work for
me...)

I have retested what Julien did in comment #28 (with LO 6.3) an what I did in
comment #27 (with LO 6.2). And now I can also NOT reproduce the buggy behavior,
as outlined in comment #12 (or Julien's comment #28). I have no clue what I did
different the time before.

But when I go back to the very first description of this bug (from the year
2005), then I CAN STILL reproduce the buggy behavior described there. I could
reproduce this with LO 6.2. I will quote the original bug report to describe
what I did:

-----

Simple problem, no solution:
I just want to define a Frame style that positions images and assigns them a
fixed width, but with the height calculated automatically from the image's
proportions (aspect ratio).
That's not possible, since for images the "AutoSize" function is not available
and the "Keep aspect" is obviously ignored when applying frame styles.

To reproduce
- Create new writer doc.
- Insert a small image (e.g. bigapple.gif from the gallary)
- Check image's "Keep aspect ratio" to ON.
- Create or edit a frame style to place the object somewhere (e.g. right page
border) and set:
    Width: 4 cm
    Height (at least): 1 cm
    AutoSize: ON
    (P.S. Why is "Keep aspect ratio always grey?)
- Apply style
Result: Image is rescaled to 4cm width (OK for me) and 1 cm height (wrong!).

So obviously
a) the frame style's AutoSize does not work for images
b) the "Keep aspect ratio" is ignored as well when applying a frame style to an
image.

Fazit: It's not possible to assign a frame style to an image without having to
manually correct the aspect ratio afterwards.
I consider this an important issue if images are to be placed as marginalia
(with a fixed width) beside the text, but the aspect ratio needs of course to
be
correct.

-----

-- 
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/20200102/55a01108/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list