[Libreoffice-bugs] [Bug 143321] Image height set to width when values in tab "Type" of Properties dialog are changed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 13 09:54:12 UTC 2021


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

--- Comment #7 from Stefan_Lange_KA at T-Online.de <Stefan_Lange_KA at T-Online.de> ---
(In reply to Miklos Vajna from comment #6)
> Your document explicitly enables KeepRatio in settings.xml:
> 
>           <config:config-item config:name="KeepRatio"
> config:type="boolean">true</config:config-item>
> 
> That is why master enables that checkbox for the image. 7.1 behaves
> differently because it ignores that setting. That being said this looks
> working as intended. If you disable that Keep Ratio checkbox once, it'll be
> also remembered in the document.
> 
> Does that help? Thanks.

Many thanks, but the answer is not completely helpful.
It is good that the entry "KeepRatio" was introduced in settings.xml with LO
7.2. Until LO 7.1 this setting from "Image Properties" did exist in the memory
only but was not saved in the document. But IMHO the current solution isn't
perfect:
1. When "Keep Ratio" in Image Properties dialog is switched off and the
document is saved (!) the behavior described in the bug report doesn't exist -
OK!
2. But: In my understanding Keep Ratio means the proportion between width and
heigt is kept when one of both is changed - not both are set equal! This cannot
be correct.
3. To prevent the behavior described in the bug report I must save the document
with "Keep Ratio" off always. When I want to change image size with keep the
ratio I must switch on "Keep Ratio" temporarily for the change but I must
switch of before the document is saved. Am I right? If yes the current solution
is not really better as it was until LO 7.1 without the new settings entry.

-- 
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/20210713/d5f896e1/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list