Bug 55480

Summary: Bug when unchecking "Relative" size while "Keep ratio" is checked
Product: LibreOffice Reporter: Alexander Karatarakis <alex.karatarakis>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: minor    
Priority: medium CC: shifaahali16de
Version: 3.6.0.2 rc   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Document for demonstrating the bug
Example demonstrating the problem

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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.