Bug 129063 - FILEOPEN: XLSX: incorrect image width
Summary: FILEOPEN: XLSX: incorrect image width
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:ooxml, filter:xlsx
Depends on:
Blocks: XLSX
  Show dependency treegraph
 
Reported: 2019-11-27 16:03 UTC by Mikhail Novosyolov
Modified: 2020-06-08 17:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Broken document Irr8.xlsx (214.13 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2019-11-27 16:04 UTC, Mikhail Novosyolov
Details
Correct width in Microsoft Office Online.png (400.58 KB, image/png)
2019-11-27 16:04 UTC, Mikhail Novosyolov
Details
Incorrect width in LibreOffice Calc.png (329.62 KB, image/png)
2019-11-27 16:05 UTC, Mikhail Novosyolov
Details
Screenshot of the original document side by side in Excel and Calc (311.98 KB, image/png)
2020-06-08 17:41 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Novosyolov 2019-11-27 16:03:40 UTC
Description:
Attaching 2 screenshots. THe first one shows how the xlsx doc is diaplyed in Microsoft Office Online. THe second one shows how it is in LibreOffice. This image has incorrect width in LibreOffice. The image is rotated for 270,00°.

Steps to Reproduce:
.

Actual Results:
.

Expected Results:
.


Reproducible: Always


User Profile Reset: No



Additional Info:
Версия: 6.3.3.2
ID сборки: 1:6.3.3-0ubuntu0.19.10.1
Потоков ЦП: 4; ОС:Linux 5.3; Отрисовка ИП: по умолчанию; VCL: gtk3; 
Локаль: ru-RU (ru_RU.UTF-8); Язык интерфейса: ru-RU
Calc: threaded
Comment 1 Mikhail Novosyolov 2019-11-27 16:04:17 UTC
Created attachment 156150 [details]
Broken document Irr8.xlsx
Comment 2 Mikhail Novosyolov 2019-11-27 16:04:47 UTC
Created attachment 156151 [details]
Correct width in Microsoft Office Online.png
Comment 3 Mikhail Novosyolov 2019-11-27 16:05:13 UTC
Created attachment 156152 [details]
Incorrect width in LibreOffice Calc.png
Comment 4 Xisco Faulí 2019-11-28 11:43:42 UTC
Reproduced in

Version: 6.5.0.0.alpha0+
Build ID: 2bf687bebb30defe576ddb20c1c9680979ed3086
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

and in

Version: 4.1.0.0.alpha1+
Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40
Comment 5 NISZ LibreOffice Team 2020-06-08 17:41:20 UTC
Created attachment 161771 [details]
Screenshot of the original document side by side in Excel and Calc

This started to look better after:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=130e6a3f4493b987a7d0b177cc84d65219b47d13

author	Szabolcs Toth <szabolcs450@gmail.com>	2020-05-21 09:06:08 +0200
committer	László Németh <nemeth@numbertext.org>	2020-05-29 17:26:08 +0200

tdf#83593 XLSX DrawingML shape import: fix missing rotation

Interestingly now the Excel Width value of 17.11 cm is imported as Calc Height value and the Excel Height value of 11.92 cm is imported as Calc Width value of 12.81 cm so this one is slightly incorrect (was so before the above commit too).
Comment 6 NISZ LibreOffice Team 2020-06-08 17:44:43 UTC
bug #113151 is about a similar problem