Bug 154160 - UI: Image ratio can be skewed even with keep Ratio for images in Position in Size ON when using Relative Width
Summary: UI: Image ratio can be skewed even with keep Ratio for images in Position in ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2023-03-13 14:48 UTC by Telesto
Modified: 2023-03-27 21:44 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample (590.67 KB, application/vnd.oasis.opendocument.text)
2023-03-13 14:48 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-03-13 14:48:43 UTC
Description:
UI: Image ratio can be skewed even with keep Ratio for images in Position in Size ON when using Relative Width

Steps to Reproduce:
1. Open the attached file
2. Select the image -> Press F4 (or Right Click the image -> Image properties)
3. Position and size Tab
4. Check Keep Ratio ON
5. Check Relative width (so it's ON). Use the default Entire Paragraph Area
6. Type 130% as width value
7. Press OK
8. F4 again -> Notice 130% being changed into 124% (the input of 130 should have been disallowed, I guess
9. Press OK again -> Skewed image; not in ratio


Actual Results:
Image ratio lost

Expected Results:
Image still in ratio


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 37e3455a13ab5741104bf41d05a80e60a4612682
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded
Comment 1 Telesto 2023-03-13 14:48:59 UTC
Created attachment 185930 [details]
Sample
Comment 2 Stéphane Guillou (stragu) 2023-03-27 21:44:46 UTC
Repro in:

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Adding a few "see also" bugs that would benefit from reviewing, to see if there's potential duplicates in this area.