Bug 145854 - Fileopen: DOCX table should still fit the page even if "Preferred width" in MSO is larger than page
Summary: Fileopen: DOCX table should still fit the page even if "Preferred width" in M...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2021-11-23 16:39 UTC by kan
Modified: 2023-06-08 00:25 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
docx file with the issue (28.35 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-11-23 16:47 UTC, kan
Details
preview of actual result (39.68 KB, image/png)
2021-11-23 16:48 UTC, kan
Details
preview of expected result (107.15 KB, image/png)
2021-11-23 16:49 UTC, kan
Details

Note You need to log in before you can comment on or make changes to this bug.
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