Bug 130815 - FILESAVE: DOCX: Table is broken in MSO after RT
Summary: FILESAVE: DOCX: Table is broken in MSO after RT
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2020-02-20 17:10 UTC by Xisco Faulí
Modified: 2021-07-22 13:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparison before and after (183.81 KB, image/png)
2020-02-20 17:10 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2020-02-20 17:10:35 UTC
Created attachment 158055 [details]
Comparison before and after

Steps to reproduce:
1. Open attachment 120935 [details] from bug 94598
2. Save it as .DOCX
3. Open the new generated file in MSO ( in my case i used MSO 2010 )

-> columns' width of table in page 2 are incorrect. See comparison image attached

Reproduced in

Version: 7.0.0.0.alpha0+
Build ID: bc994a4b01cf61444452bb377010c7c4cc377698
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2020-02-20 17:12:13 UTC
Regression introduced by:

author	Louis Meyrat <louis.meyrat@gmail.com>	2020-01-12 17:26:09 +0100
committer	Mike Kaganski <mike.kaganski@collabora.com>	2020-01-19 23:30:00 +0100
commit 8be3ae254f5b2ff76d9861ad4b9b5b5de5d14bb4 (patch)
tree f4d0989b887237de4b52766345bfb9b7982efef6
parent 4ee7a2bd9cab311704a47d18e44a5a17a54d3d66 (diff)
tdf#128290 add tblLayout element to docx export

Bisected with: bibisect-linux64-6.5

Adding Cc: to Louis Meyrat
Comment 2 Louis Meyrat 2020-02-20 17:45:46 UTC
Thanks for the report, and sorry for re-introducing this bug. I'm going to take a look at it.
Comment 3 Louis Meyrat 2020-02-20 19:05:18 UTC
So I can reproduce it with MSO 2016
Now that MSO is no longer allowed to automatically resize the columns, it uses the widths written in the document, but somehow LO and MSO understand those width differently
It is also to be noted that the original .docx has severe layout issues in MSO.

Reproduced in

Version: 7.0.0.0.alpha0+
Build ID: dff7a46fb46d1fa2a3ad674ee493ae2d59150fe3
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5; 
Locale: en-US (C); UI-Language: en-US
Calc: threaded
Comment 4 NISZ LibreOffice Team 2021-07-21 12:14:55 UTC
Note that this attachment 120935 [details] was made with an older version of LO:

<Application>LibreOffice/5.0.3.2$Linux_X86_64 LibreOffice_project/00m0$Build-2</Application>

The original attachment 119116 [details] from bug 94598 was made with Word 2010 and roundtrips in current master decently.
Comment 5 Timur 2021-07-22 13:45:23 UTC
Good catch, let's close.