Bug 132598 - FILEOPEN DOC or DOCX: Overlapping tables
Summary: FILEOPEN DOC or DOCX: Overlapping tables
Status: RESOLVED DUPLICATE of bug 126449
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOC-Tables
  Show dependency treegraph
Reported: 2020-05-01 19:05 UTC by Rhys Young
Modified: 2023-07-11 20:39 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Normal grid (116.50 KB, application/msword)
2020-05-01 19:06 UTC, Rhys Young
Grid incorrect (101.13 KB, application/pdf)
2020-05-01 19:07 UTC, Rhys Young
PDF exported from MSO 2013 (577.66 KB, application/pdf)
2020-08-30 17:07 UTC, Buovjaga
DOCX resaved in MSO (54.97 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-11-05 09:57 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description Rhys Young 2020-05-01 19:05:54 UTC
When converting the word document to pdf form it does not parse the grids properly. Changed all text in the document to protect client data.

Steps to Reproduce:
1. Convert file to PDF using 'soffice --headless --nolockcheck --nodefault --nofirststartwizard --nologo --norestore --convert-to pdf --outdir /tmp /tmp/test.docx'
2. Open PDF using a viewer
3. Observe the grids looking weird

Actual Results:
Grids should look normal

Expected Results:
Grids do not look normal

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Rhys Young 2020-05-01 19:06:20 UTC
Created attachment 160196 [details]
Normal grid
Comment 2 Rhys Young 2020-05-01 19:07:22 UTC
Created attachment 160197 [details]
Grid incorrect
Comment 3 Buovjaga 2020-08-30 17:04:17 UTC
Is there a reason you are talking about PDF export? The tables overlap already when opening the file in LibreOffice.

Arch Linux 64-bit
Build ID: d784e711c102f204552c3c816636da01b1085f61
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 29 August 2020
Comment 4 Buovjaga 2020-08-30 17:07:43 UTC
Created attachment 164885 [details]
PDF exported from MSO 2013
Comment 5 Buovjaga 2020-08-30 17:11:39 UTC
Overlap observed already in 3.3.0 and 4.4.7
Comment 6 Timur 2020-11-05 09:57:00 UTC
Created attachment 167030 [details]
DOCX resaved in MSO

This report was about fileopen DOC. Same with DOCX if resaved in MSO.
To take into account:
- sample of 5 pages is too large, there should be a minimal document
- there are other existing bugs here, LO reads Microsoft fonts differently so page content is not the same
- this overlapping of tables may well be a duplicate of existing bug or related to wrong table opening with split.
Comment 7 QA Administrators 2022-11-06 03:37:44 UTC Comment hidden (obsolete)
Comment 8 Roman Kuznetsov 2022-11-09 19:51:40 UTC
Still rerpo

Version: (X86_64) / LibreOffice Community
Build ID: ddb8a1a282aae74c1cee3a5e1f446abd0c00b116
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 9 Justin L 2023-05-25 17:53:01 UTC
repro 7.6+ after the floating table fixes have landed.

It looks like we have a long floating table anchored in another table. (I don't think that situation was handled yet. Likely then this is a duplicate bug report.)
Comment 10 Justin L 2023-07-11 20:39:30 UTC
grid test.doc looks exactly like Table Overlapping - Test.doc from bug 126449 (although the file sizes are quite different)

*** This bug has been marked as a duplicate of bug 126449 ***