Bug 145854

Summary: Fileopen: DOCX table should still fit the page even if "Preferred width" in MSO is larger than page
Product: LibreOffice Reporter: kan <shariqkeen>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal Keywords: filter:docx
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=72388
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104444    
Attachments: docx file with the issue
preview of actual result
preview of expected result

Description kan 2021-11-23 16:39:55 UTC
Description:
columns of table are missing and are of different size.

Steps to Reproduce:
open the doc and view.

Actual Results:
Only two and a partially third column visible and are of different size than original.

Expected Results:
All five columns should be visible.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 1 kan 2021-11-23 16:47:21 UTC
Created attachment 176450 [details]
docx file with the issue
Comment 2 kan 2021-11-23 16:48:36 UTC
Created attachment 176451 [details]
preview of actual result
Comment 3 kan 2021-11-23 16:49:03 UTC
Created attachment 176452 [details]
preview of expected result
Comment 4 kan 2021-11-24 01:20:44 UTC
All columns are being shown in Onlyoffice open source version, if that helps [in freeoffice and GSuite too btw, didn't check WPS].
Comment 5 Michael Warner 2021-11-24 15:00:40 UTC
I don't see any missing columns. Differences I see is that cell contents are wrapped in the Word doc, but when pasted into LO Calc, contents are not wrapped; also, columns in Calc remain at their default sizes, and don't match the size of the columns in the Word doc.
Comment 6 Timur 2022-01-18 14:55:38 UTC
Repro 7.4+.
Table in Word has "Preferred width" checked but with width of 56,14 cm.
"Automatically resize to fit contents" property is not enabled. 
If Preferred width is unchecked and DOCX saved in MSO, LO opens it OK.
Original DOCX saved as DOC opens OK in LO.

Not sure but it seems to me that: Table should still fit the page even if "Preferred width" in MSO is larger than page. So I change the title. 
There are similar bugs like bug 72388, but not quite the same, that one has "Automatically resize..".

This file seems generated. Still it should open as in MSO.
Comment 7 Justin L 2023-06-08 00:25:09 UTC
repro 7.6