Bug 143278 - FILEOPEN DOCX After rejecting convert to table function, Writer leaves an empty table
Summary: FILEOPEN DOCX After rejecting convert to table function, Writer leaves an emp...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0 target:7.2.0.2
Keywords: bibisected, bisected, filter:docx, regression
: 143273 (view as bug list)
Depends on:
Blocks: DOCX-Track-Changes
  Show dependency treegraph
 
Reported: 2021-07-09 12:31 UTC by NISZ LibreOffice Team
Modified: 2022-06-13 14:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The example file with the table created in Word. (14.56 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-07-09 12:31 UTC, NISZ LibreOffice Team
Details
Screenshot of the document with the tables side by side in Writer and Word (94.61 KB, image/png)
2021-07-09 12:32 UTC, NISZ LibreOffice Team
Details
Screenshot of the document side by side in Writer and Word after rejecting the change (83.12 KB, image/png)
2021-07-09 12:32 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 2021-07-09 12:31:57 UTC
Created attachment 173475 [details]
The example file with the table created in Word.

After converting three paragraphs of text to table in Word and opening this .docx in Writer and rejecting the change in the Manage Changes panel, it will leave an empty table in the document.

Steps to reproduce:
1.	Open attached .docx file in MS Word.
2.	In the Reviewing pane, we can see the changes.
3.	Open attached .docx file in LO Writer.
4.	Under the Manage Changes panel, reject the change.

Actual results:
After opening the file in Writer and rejecting the change, it leaves an empty table in the document.

Expected results:
Rejecting the change should delete the table.

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bd2f2273d83dcca43eb6b465308707efd45e7adf
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Also in 6.0, 5.0
But not yet in 4.4: back then the CT-added table disappeared as expected, although one paragraph disappeared as well unexpectedly so there was two lines of letters instead of one.

Additional Information:
Bibisected using bibisect-win32-5.0 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=c4cf85766453982f1aa94a7f2cb22af19ed100be 

author	Michael Stahl <mstahl@redhat.com>	2015-05-05 23:15:20 +0200
committer	Michael Stahl <mstahl@redhat.com>	2015-05-06 00:10:17 +0200

sw: fix crash due to redlines on tables on ooo121112-2.docx
Comment 1 NISZ LibreOffice Team 2021-07-09 12:32:24 UTC
Created attachment 173476 [details]
Screenshot of the document with the tables side by side in Writer and Word
Comment 2 NISZ LibreOffice Team 2021-07-09 12:32:51 UTC
Created attachment 173477 [details]
Screenshot of the document side by side in Writer and Word after rejecting the change
Comment 3 Commit Notification 2021-07-13 11:33:28 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/03b29d4ddb99337c4d54b241020c95e8b2a66991

tdf#143278 DOCX: support tracked table (row) insertion

It will be available in 7.3.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 4 Commit Notification 2021-07-13 14:53:31 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/21c56b7412fda90350732737f2f11cbaa7abad46

tdf#143278 DOCX: support tracked table (row) insertion

It will be available in 7.2.0.2.

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 5 NISZ LibreOffice Team 2021-07-23 07:39:37 UTC
*** Bug 143273 has been marked as a duplicate of this bug. ***
Comment 6 NISZ LibreOffice Team 2021-08-04 06:44:15 UTC
Verified in: 

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ad1b12686da88bea57582df10fa85268ada209b8
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded