Bug 141348 - Fileopen DOCX: Floating tables overlap since 4.3
Summary: Fileopen DOCX: Floating tables overlap since 4.3
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2021-03-30 15:42 UTC by kevinpr
Modified: 2022-03-08 09:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Catalog DOCX (249.16 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-30 15:42 UTC, kevinpr
Details
Catalog rendered PDF (796.34 KB, application/pdf)
2021-03-30 15:42 UTC, kevinpr
Details
Catalog rendered PDF in Libreoffice - BAD (188.28 KB, application/pdf)
2021-03-30 15:43 UTC, kevinpr
Details
Catalog DOCX - MSO reduced to 3 pages (142.09 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-31 07:03 UTC, Timur
Details
Catalog DOCX - 3 pages changed to margin (142.17 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-31 14:02 UTC, Timur
Details
Catalog DOCX - 3 pages changed to paragraph (142.31 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-31 14:03 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kevinpr 2021-03-30 15:42:19 UTC
Description:
I recieved a docx file with tables with a pricelist, and in Writer is unreadable.. We cleaned the file to upload here as docx and pdf (As Microsoft Office sees it)
I don't know why doesn't reads as is.

Steps to Reproduce:
1. Open file
2. See tables


Actual Results:
Garbage tables

Expected Results:
Render as the PDF export


Reproducible: Always


User Profile Reset: No



Additional Info:
In Office 2016 renders ok
Comment 1 kevinpr 2021-03-30 15:42:38 UTC
Created attachment 170835 [details]
Catalog DOCX
Comment 2 kevinpr 2021-03-30 15:42:54 UTC
Created attachment 170836 [details]
Catalog rendered PDF
Comment 3 kevinpr 2021-03-30 15:43:30 UTC
Created attachment 170837 [details]
Catalog rendered PDF in Libreoffice - BAD
Comment 4 Timur 2021-03-31 06:45:31 UTC
Bugzilla is not document based, like this docx doesn't look good, it's issue based, meaning that single issue must be pointed at, preferably with minimal sample document. 

Here, problem are wrap around / floating tables. If turned off in MSO, LO opens it correctly. 
This makes is a probable duplicate of existing bugs, except I'm not sure of which one exactly: bug 61594, bug 75331, Bug 80717, bug 113829, bug 117416, Bug 131735..

These tables are relative to page, but changing to margin or paragraph doesn't help.
Comment 5 Timur 2021-03-31 07:03:38 UTC
Created attachment 170849 [details]
Catalog DOCX - MSO reduced to 3 pages

Seems like change was in 4.3, from then pages 1-2 are overlapped and page 3 is good.
4.2 used to open pages 1-2 good and page 3 bad.
Comment 6 Timur 2021-03-31 07:53:19 UTC
Seems there were 2 changes in 43max, this one bibisected for pages 1-2 where it went worse and later one where page 3 went better.
 
So I mark regression for pages 1-2 where tables overlap from this change.

author	sushil_shinde <sushil.shinde@synerzip.com>	2014-01-22 17:10:11 +0530
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2014-02-13 10:25:16 +0100
commit 4d34d43b29be2b14a02b001b35fcde2459fb1993 (patch)
tree 969629de48f4f64e5a3c63a11d918b981e767118
parent 9d5005a70cc42ee9f45104cc32aa099d0c3d6630 (diff)
fdo#69656 table with auto-width and at least one column with auto-width.
  - In case of auto width of table and atleast one cell of table
    is auto width It was setting table width to 100% relative width.
  - hence it was causing rederening problem, table width was wrong
    while rendering.
  - Changed 100% hardcoded value, now setting total width of table
    as per grid values.
  - modified one UT since we no longer setting width of table to
    100% default in case of 'auto' width.
  - Added one UT to check proper table width while importing.
Comment 7 Timur 2021-03-31 08:31:40 UTC Comment hidden (obsolete)
Comment 8 Timur 2021-03-31 14:02:03 UTC
Created attachment 170859 [details]
Catalog DOCX - 3 pages changed to margin

Here is MSO changed 3 page file, so that vertical position is not relative to page but to margin (and some other changes).
This is for additional test.
Comment 9 Timur 2021-03-31 14:03:09 UTC
Created attachment 170860 [details]
Catalog DOCX - 3 pages changed to paragraph

Here is MSO changed 3 page file, so that vertical position is not relative to page but to paragraph (and some other changes).
Comment 10 Justin L 2022-03-08 09:21:48 UTC
repro 7.4+