When making an image fit the paragraph width, LibreOffice Writer incorrectly calculates the image dimensions, resulting in an incorrect image aspect ratio.
Steps to Reproduce:
I have attached screenshots of the steps required to reproduce the issue.
LibreOffice Writer incorrectly calculates the image dimensions
LibreOffice Writer should correctly calculate the image dimensions
User Profile Reset: No
Version: 188.8.131.52 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 4; OS: Windows 10.0 (17763.437); UI render: GL;
Locale: en-GB (en_GB); Calc: group threaded
Created attachment 150919 [details]
Created attachment 150920 [details]
Created attachment 150921 [details]
Created attachment 150922 [details]
Created attachment 150923 [details]
Created attachment 150924 [details]
Created attachment 150925 [details]
Created attachment 150926 [details]
I confirm the behaviour with
Version: 184.108.40.206.alpha1+ (x64)
Build ID: e92dcfdc7bd7b237e0bee26ff226a102d9e8e766
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-05-14_00:00:57
Locale: en-US (de_DE); UI-Language: en-US
I assume the reason for this behaviour is, that LO doesn't offer percentages with decimal point.
=> Adding design team for input
What (numbers) do you expect at step 3 and 4 (width relative to paragraph)? And what's the problem with 6 to 8 (guess you click on Original Size and it should reset to 16.26 x 9.16 / 100% - but you also checked the aspect ratio).