Bug 143273 - FILEOPEN DOCX After rejecting a table sort change, Writer leaves empty rows
Summary: FILEOPEN DOCX After rejecting a table sort change, Writer leaves empty rows
Status: VERIFIED DUPLICATE of bug 143278
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:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Track-Changes
  Show dependency treegraph
 
Reported: 2021-07-09 08:30 UTC by NISZ LibreOffice Team
Modified: 2021-08-04 06:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


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

After sorting a MS Word table and opening this .docx in Writer and rejecting the change in the Manage Changes panel, this will leave empty rows in the table.

Steps to reproduce:
1.	Open attached .docx file in MS Word. It was created by sorting the example 3x3 table with the Table ribbons Sort command.
2.	In the Reviewing pane, we can see the changes (inserted and deleted rows).
3.	Open attached .docx file in LO Writer.
4.	Under the Manage Changes panel, reject all the changes.

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

Expected results:
Rejecting the change should not leave empty rows.

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 happens in 6.0, 5.0
But not yet in 4.4

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 08:31:03 UTC
Created attachment 173469 [details]
Screenshot of the document with the tables side by side in Writer and Word
Comment 2 NISZ LibreOffice Team 2021-07-09 08:31:21 UTC
Created attachment 173470 [details]
Screenshot of the document side by side in Writer and Word after. rejecting the change
Comment 3 Buovjaga 2021-07-19 16:26:36 UTC
Not reproduced

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: b1df9c67349cf4cc5be4128d797aefb87f50e38f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 4 NISZ LibreOffice Team 2021-07-23 07:39:37 UTC
Fixed with

https://git.libreoffice.org/core/+/03b29d4ddb99337c4d54b241020c95e8b2a66991
author	László Németh <nemeth@numbertext.org>	Mon Jul 12 13:27:05 2021 +0200
committer	László Németh <nemeth@numbertext.org>	Tue Jul 13 13:31:57 2021 +0200

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

*** This bug has been marked as a duplicate of bug 143278 ***
Comment 5 NISZ LibreOffice Team 2021-08-04 06:33:13 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