Description: DOC: Image dimensions wrong form image with border Steps to Reproduce: 1. Open the attached file 2. Notice squeezed images (opens fine in MSO) Actual Results: Squeezed Expected Results: Proper Reproducible: Always User Profile Reset: No Additional Info: Found in 7.2 and in 4.4.7.2 and in Version: 4.3.7.2 Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba but not in 4.2
Created attachment 169270 [details] Example file
Created attachment 169271 [details] Source ODT
Confirm this Tested with Version: 5.4.7.2 -> not working Build ID: c838ef25c16710f8838b1faec480ebba495259d0 CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk2; Locale: ro-RO (ro_RO.UTF-8); Calc: group Working in Version 3.6.7.2 (Build ID: e183d5b)
This regressed in two steps. First the image wasn't shown at all after the following commit in 4.2 (commit ported from AOO): https://cgit.freedesktop.org/libreoffice/core/commit/?id=2e5167528f7566dd9b000e50fc1610b7bf99132a author Armin Le Grand <alg@apache.org> 2013-10-31 14:43:21 +0000 committer Caolán McNamara <caolanm@redhat.com> 2013-11-05 15:24:18 +0000 "Resolves: #i123500# unified Graphic processing to use GraphicPrimitive2D" Then that got fixed with this commit in 4.4, but the image was now imported squashed: https://cgit.freedesktop.org/libreoffice/core/commit/?id=6d431ffb682d0e64b75b6267f369822ff0b0617e author Michael Stahl <mstahl@redhat.com> 2014-05-24 18:02:31 +0200 committer Michael Stahl <mstahl@redhat.com> 2014-05-24 18:34:06 +0200 "fdo#77454: fix WW8 import/export of negative image crop The negative crop values were imported as large positive values, which caused the image to be rendered with 1 pixel width after commit 2e5167528f7566dd9b000e50fc1610b7bf99132a."
repro 7.6+