Bug 55480 - Unchecking "Relative" size while "Keep ratio" sets equal width and height values (images, OLE objects)
Summary: Unchecking "Relative" size while "Keep ratio" sets equal width and height val...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 154161 (view as bug list)
Depends on:
Blocks: Writer-Images OLE-Objects
  Show dependency treegraph
 
Reported: 2012-10-01 00:03 UTC by Alexander Karatarakis
Modified: 2024-05-07 08:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document for demonstrating the bug (23.47 KB, application/vnd.oasis.opendocument.text)
2012-10-01 00:03 UTC, Alexander Karatarakis
Details
Example demonstrating the problem (23.47 KB, application/vnd.oasis.opendocument.text)
2012-10-01 00:07 UTC, Alexander Karatarakis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Karatarakis 2012-10-01 00:03:18 UTC
Created attachment 67905 [details]
Document for demonstrating the bug

I have a table (happens with any other object as well) that is surrounded by a Caption box. The object inside is set to have relative width 100% so that it fills the caption box entirely. Keep ratio is also checked, so that any resizes don't alter the ratio of the object. The attached document shows an example of this.

Now, to reproduce the problem:
Right click the table (not the surrounding margin, only the table).
Select Object...
Uncheck “Relative” (the one pertaining to Width)
Notice that the value under “Height” was changed to be equal to the “Width” one and if you click ok the object becomes deformed. This should not be the case. The "Relative" check box should toggle between % value and actual size next to the corresponding dimension (width or height).

[minor observation:
Also, if you keep checking and unchecking “Relative”, you will notice that the Width keeps getting smaller (I see it in centimeters, and it gets smaller by increments of 0.01 after a few checks unchecks)
]

Ubuntu 12.04.1 64-bit
Libreoffice Version 3.6.0.2 (Build ID: 360m1(Build:102))
Comment 1 Alexander Karatarakis 2012-10-01 00:07:44 UTC
Created attachment 67906 [details]
Example demonstrating the problem

Re-add the example document marked as a binary file instead of plain text.
Comment 2 A (Andy) 2013-03-01 23:54:18 UTC
reproducible with LO 4.0.0.3 (Win7 Home, 64bit)
Comment 3 Alexander Karatarakis 2014-02-11 19:38:45 UTC
Still an issue in 4.2.
Comment 4 Joel Madero 2015-05-02 15:44:09 UTC Comment hidden (obsolete)
Comment 5 Alexander Karatarakis 2015-05-03 11:16:11 UTC
Still an issue in 4.4.2.2
Comment 6 QA Administrators 2016-09-20 09:37:52 UTC Comment hidden (obsolete)
Comment 7 Alexander Karatarakis 2016-10-05 06:54:29 UTC
Still an issue in 5.2.2.2.
Repros with the attached odt in the original post.
Comment 8 aflux 2017-11-08 14:33:35 UTC
still an issue on 5.2.7.2
Comment 9 QA Administrators 2018-11-09 03:59:20 UTC Comment hidden (obsolete)
Comment 10 Roman Kuznetsov 2018-11-09 06:32:37 UTC
still repro in

Version: 6.2.0.0.alpha1+
Build ID: 6896f39ffd8a6c4b32b8f601a6a93678247456bd
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-11-05_22:40:18
Locale: ru-RU (ru_RU); Calc: threaded
Comment 11 QA Administrators 2019-11-10 03:48:46 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2021-11-10 04:08:27 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2023-11-11 03:13:59 UTC Comment hidden (obsolete)
Comment 14 Stéphane Guillou (stragu) 2024-05-07 08:20:05 UTC
Same in OOo 3.3 -> inherited.
Still the case in a recent daily build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7a895ec4205659038aa95941b65715fed1a3e7be
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Applies to other objects that have this same Relative option, like images.
Comment 15 Stéphane Guillou (stragu) 2024-05-07 08:20:36 UTC
*** Bug 154161 has been marked as a duplicate of this bug. ***