Description: Images in imported MS Publisher 2007 document are incorrectly scaled or cropped when visualized in DRAW. Same text items are also slightly incorrectly positioned in the page. Basically, images in the original Publisher file, are cropped and scaled. When the original Publisher file is imported in DRAW, the images are only shrinked/squeezed/stretched to stay in the rectangular dimension. For example, the first image at the top of the page, in the original Publisher document, has the following properties: - position x: 2,6 cm - position y: 2 cm - height: 8,712 cm - width: 8,824 cm - scaling height: 50 % - scaling width: 50 % - left crop: 1,806 cm - right crop: 1,639 cm - top crop: 5,933 cm - bottom crop: 6,433 cm while the same image, when the Publisher document is imported in DRAW, has the following properties: - position x: 2,60 cm - position y: 1,99 cm - height: 8,73 cm - width: 8,83 cm Steps to Reproduce: 1. Open attached TEST.pub with DRAW Actual Results: Images are incorrectly scaled and not cropped and some items are slightly incorrectly positioned (text items A a, B b, C c, D d) See: Exported in PNG format from DRAW TEST_LO7DRAW.png Expected Results: Images are correctly scaled and cropped and items are correctly positioned See: Exported in PNG format from Microsoft Publisher TEST_PUBLISHER.png See also: Difference between TEST_LO7DRAW (in red) and TEST_PUBLISHER (in blue) TEST_DIFFERENCE_LO7DRAW-PUBLISHER.png Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.0.0.0.alpha1+ (x64) Build ID: 9a7c5d38a7a43c75c0f3d2f0c725196e916d0260 Thread CPU: 4; SO: Windows 10.0 Build 18362; Resa interfaccia: Skia/Raster; VCL: win;
Created attachment 161173 [details] TEST.pub Sample Publisher document
Created attachment 161174 [details] TEST_LO7DRAW.png Sample Publisher document exported in PNG format from DRAW
Created attachment 161175 [details] TEST_PUBLISHER.png Sample Publisher document exported in PNG format from Microsoft Publisher
Created attachment 161176 [details] TEST_DIFFERENCE_LO7DRAW-PUBLISHER.png Difference between TEST_LO7DRAW (in red) and TEST_PUBLISHER (in blue)
REPRODUCIBLE with Version: 7.0.0.3 (x64) CPU-Threads: 4; BS: Windows 6.1 Service Pack 1 Build 7601; UI-Render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL Colibre theme The report contains multiple issues with probably different roots, so I recommend to split this one into separate Bugs for each problem ("File a separate bug report for each bug you run into ...") My observations: a) There is some progress compared to LibO 6.4, which only shows white rectangels instead of pictures b) The height/width ratio issue is - at least partially - related to the slide property "Margin" in the Slide Panel in the Sidebar. Modifications there will distort the graphics in the page. This problem is already visible in LibO 6.4 and is a general problem, is not a particular .pub import problem. Probably DUP of "Bug 121491 - Objects silently resized when changing margins by sidebar" c) The wrong picture contents might be related to ignoring cropping and several other effects, that IS a particular import problem. d) "Misplaced Text Items" is a very little problem compared to the other ones, and probably with different roots to(b), (c). e) So "CONFIRMED". bug not NEW due to concerns because of multiple issues in 1 report. Needs to be separated into different reports because different fixes will be required to heal the problems.
Reproduced in Version: 7.1.0.0.alpha0+ Build ID: 58937aa4a50ecd681382f03331340da4c843b01e CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Version: 5.2.0.0.alpha1+ Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; Locale: ca-ES (ca_ES.UTF-8) Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Are there any other news about this bug?
Also in Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: a09c5c69e3b5fbf448cae1d6c476f39067e40023 CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded