Bug 134606 - FILEOPEN DOCX Table containing nested table disappears
Summary: FILEOPEN DOCX Table containing nested table disappears
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: László Németh
URL:
Whiteboard: target:7.1.0
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2020-07-07 10:46 UTC by NISZ LibreOffice Team
Modified: 2020-07-20 09:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (21.10 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-07 10:46 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (67.73 KB, image/png)
2020-07-07 10:46 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-07-07 10:46:05 UTC
Created attachment 162750 [details]
Example file from Word

Attached user made file contains a table with some rows, columns and a nested table.
When opened in Writer the first table falls apart, only the nested table survives as table.

Steps to reproduce:
    1. Open attached file

Actual results:
Table disappears.

Expected results:
Table is retained.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 9af38b4504ccda57a0c32eb8bdd03e5a8ca29ddc
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Also in:
Version: 6.4.0.3 (x86)
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: en-US (hu_HU); UI-Language: en-US
Calc: CL

But not in
Verzió: 6.3.0.4 (x86)
Build az.: 057fc023c990d676a43019934386b85b21a9ee99
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; VCL: win; 
Területi beállítások: hu-HU (hu_HU); Felület nyelve: hu-HU
Calc: CL

Bibisected using bibisect-win64-6.4 to: 
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=70274f86cdc1c023ffdd0130c262c1479262d76b 

author
László Németh <nemeth@numbertext.org> 2019-12-02 19:02:43 +0100 
committer
László Németh <nemeth@numbertext.org> 2019-12-08 22:29:54 +0100 

tdf#116194 DOCX import: fix missing tables with w:gridBefore

Adding CC to: Laszlo Nemeth
Comment 1 NISZ LibreOffice Team 2020-07-07 10:46:23 UTC
Created attachment 162751 [details]
Screenshot of the original document side by side in Word and Writer
Comment 2 Commit Notification 2020-07-08 21:44:47 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5483d4e10aad27889b961b9cb94d7ba6c86aed0b

tdf#134606 DOCX table import: fix gridBefore + nesting

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Xisco Faulí 2020-07-20 09:17:57 UTC
Verified in

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

@László Németh, thanks for fixing this issue!!