Bug 142700 - FILEOPEN DOCX Change tracking of images anchored to character is not imported
Summary: FILEOPEN DOCX Change tracking of images anchored to character is not imported
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0 target:7.2.0.0.beta2
Keywords: filter:docx
Depends on:
Blocks: DOCX-Track-Changes
  Show dependency treegraph
 
Reported: 2021-06-07 08:12 UTC by NISZ LibreOffice Team
Modified: 2021-08-03 09:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word with tracked images anchored as character (115.15 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-06-07 08:12 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (420.46 KB, image/png)
2021-06-07 08:13 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-06-07 08:12:55 UTC
Created attachment 172669 [details]
Example file from Word with tracked images anchored as character

Attached file was made in Word and has two images anchored to character, one of them as inserted the other as deleted. 
These were inserted to Word as simple images, then the default “same line as text” (Anchor as character in Writer terms) wrapping changed to “Wrap – square”.
When opening the file in Writer there are no tracked changes imported.

Steps to reproduce:
    1. Open attached file
    2. Open Edit – Track Changes – Manage Changes

Actual results:
The Manage Changes dialog has no entries.

Expected results:
The Manage Changes dialog should list one inserted and one deleted image.

LibreOffice details:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 3b57ebb445df8a2bc3d916ea79f8af45e20e4e62
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2021-06-07 08:13:33 UTC
Created attachment 172670 [details]
Screenshot of the original document side by side in Word and Writer
Comment 2 Xisco Faulí 2021-06-07 10:11:01 UTC
Reproduced in

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: ec629c5ee22d02f99d66a5cf975ce239876b7f4d
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2021-07-08 08:17:42 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8726cf692299ea262a7455adcf6ec25451c7869d

tdf#142700 DOCX: fix lost track changes of images

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-08 09:29:38 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/474e16bbb613c2ca61b8d41d1562d9b86f689851

tdf#142700 DOCX: fix lost track changes of images

It will be available in 7.2.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 5 NISZ LibreOffice Team 2021-08-03 09:39: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