Bug 132593 - Image dimensions variate depending on the order of checking checkboxes
Summary: Image dimensions variate depending on the order of checking checkboxes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-DPI
  Show dependency treegraph
 
Reported: 2020-05-01 16:10 UTC by Telesto
Modified: 2020-08-30 17:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (465.04 KB, application/vnd.oasis.opendocument.text)
2020-05-01 16:12 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-01 16:10:18 UTC
Description:
Image dimensions variate depending on the order of checking checkboxes

Steps to Reproduce:
1. Open the attached file
2. Select the image
3. Format -> Images -> Properties -> Type tab
4. Set Height Relative to Paragraph -> Notice the width changing to 16,79 cm from 16,93 cm
5. Uncheck Keep ratio -> No change
6. Check Keep ratio again 
7. Press Original size (16,93 cm is back)

Another example
2. Select the image
3. Format -> Images -> Properties -> Type tab
4. Set Width Relative to Paragraph
5. Set Height Relative to paragraph
5. Uncheck Keep ratio -> 
6. Uncheck Width Relative checkbox -> result 17,17 (initial file 16,93 cm)
6. Check Keep ratio again 
7. Press Original size (16,93 cm is back)

2. Select the image
3. Format -> Images -> Properties -> Type tab
4. Set Width Relative to Paragraph
5. Set Height Relative to paragraph
6. Press Original size
7. Uncheck Height Relative to paragraph (Height increases to 12,70)
8. Uncheck Width Relative to Paragraph

Actual Results:
The order of clicking settings gives different results

Expected Results:
Consistency?


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: f845f74afaf087a46c82ee4209e29caca0980b71
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-05-01 16:12:08 UTC
Created attachment 160185 [details]
Example file
Comment 2 Buovjaga 2020-08-30 17:34:22 UTC
Unfortunately you forgot the step "Check Keep ratio" immediately after opening the properties dialog, so I wasted some time on this.

I repro on Linux, but on Windows, "7. Press Original size" yields 13,55 cm all the way to 4.4.7, but in 3.5.0 it behaves like on Linux.