Bug 145720

Summary: DOCX export: support MoveTo/MoveFrom completely
Product: LibreOffice Reporter: NISZ LibreOffice Team <libreoffice>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: nemeth, varga.balazs3
Priority: medium    
Version: 7.3.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=104797
https://bugs.documentfoundation.org/show_bug.cgi?id=149498
Whiteboard: target:7.4.0 target:7.3.0.0.beta2
Crash report or crash signature: Regression By:
Bug Depends on: 145718    
Bug Blocks: 143050    
Attachments: Example file from Word with DOCX export: support MoveTo/MoveFrom completely
Screenshot of the original document side by side in Writer DOCX export: support MoveTo/MoveFrom completely

Description NISZ LibreOffice Team 2021-11-16 14:59:53 UTC
Description:
Text moving is only recognized in simple cases, but not when the moved text was modified later.

Steps to Reproduce:
1.	Open the attached file.
2.	See that the string is displayed at both the original position, as well as the new position.
3.	Save, and reload the file.


Actual Results:
The change is not visible.

Expected Results:
Should be the change visible with green after the move.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: a0a38b88dc3a61d212d784f41a27f97d9c2d7f32
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded
Comment 1 NISZ LibreOffice Team 2021-11-16 15:01:30 UTC
Created attachment 176288 [details]
Example file from Word with DOCX export: support MoveTo/MoveFrom completely
Comment 2 NISZ LibreOffice Team 2021-11-16 15:02:02 UTC
Created attachment 176289 [details]
Screenshot of the original document side by side in Writer DOCX export: support MoveTo/MoveFrom completely
Comment 3 Xisco Faulí 2021-11-16 16:15:08 UTC
*** Bug 145719 has been marked as a duplicate of this bug. ***
Comment 4 Commit Notification 2021-12-03 12:12:03 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9e1e88ad5cf2dc0e9b188c60930445652a6c7519

tdf#145720 DOCX export: fix loss of tracked moving

It will be available in 7.4.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-12-11 09:47:50 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/0ad78d7c1148fd7cde305eb34ab3a921a18632a0

tdf#145720 DOCX export: fix loss of tracked moving

It will be available in 7.3.0.0.beta2.

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 2022-01-04 13:02:42 UTC
Verified in:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 8f0ce842dffe229d31bd9841ac6e999da1ae976d
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL