Bug 143510 - FILEOPEN DOCX Moved table leaves empty table upon accepting or rejecting change
Summary: FILEOPEN DOCX Moved table leaves empty table upon accepting or rejecting change
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0 target:7.2.0.2
Keywords: filter:docx, implementationError
Depends on:
Blocks: DOCX-Track-Changes
  Show dependency treegraph
 
Reported: 2021-07-23 10:03 UTC by NISZ LibreOffice Team
Modified: 2021-08-03 11:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (12.67 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-07-23 10:03 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (90.11 KB, image/png)
2021-07-23 10:04 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer after accepting all changes (79.63 KB, image/png)
2021-07-23 10:05 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer after rejecting all changes (81.03 KB, image/png)
2021-07-23 10:05 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-23 10:03:53 UTC
Created attachment 173796 [details]
Example file from Word

This is split off from bug 143318

Attached document contains a simple non-floating table that was moved below a paragraph.
This change is imported correctly, but accepting or rejecting all changes leaves an empty table in the document.

Steps to reproduce:
    1. Open attached file
    2. In the Manage changes dialog either accept all changes, or reject all changes

Actual results:
Accepting all changes leaves an empty table above the “Text” paragraph.
Rejecting all changes leaves an empty table below the “Text” paragraph.

Expected results:
No empty table after accepting/rejecting changes.

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

Also in 7.0, 6.1
In 6.0 no move changes were imported.
Comment 1 NISZ LibreOffice Team 2021-07-23 10:04:43 UTC
Created attachment 173798 [details]
Screenshot of the original document side by side in Word and Writer
Comment 2 NISZ LibreOffice Team 2021-07-23 10:05:03 UTC
Created attachment 173799 [details]
Screenshot of the original document side by side in Word and Writer after accepting all changes
Comment 3 NISZ LibreOffice Team 2021-07-23 10:05:27 UTC
Created attachment 173800 [details]
Screenshot of the original document side by side in Word and Writer after rejecting all changes
Comment 4 Commit Notification 2021-07-23 16:13:43 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7f3c0bbc174b9b0316991c174ca3b407c0e3d141

tdf#143510 DOCX import: fix tracked table drag & drop

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 5 Commit Notification 2021-07-26 10:10:11 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/5602803d07453bfd7c17ed5b6df7551d1041f97c

tdf#143510 DOCX import: fix tracked table drag & drop

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 6 NISZ LibreOffice Team 2021-08-03 11:15:55 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