Created attachment 173138 [details] Example file from Writer with two change tracked shapes Attached change tracked example file contains a paragraph with a shape and another with a shape containing a textbox. When saved as docx the shape with the textbox gets saved twice. When there is only one tracked change with a shape containing a textbox, the export is fine. Steps to reproduce: 1. Open attached file 2. Save as docx, reload in Writer or Word Actual results: The lower triangle is doubled. Expected results: The lower triangle is not doubled. LibreOffice details: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 6805efdecb240fad8c82a5c1756a2a0e92f12b7d CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Not yet in 7.1.0. Additional Information: Bibisected using bibisect-win64-7.2 to: URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=3eced2d52415abeac266804ab682bee022322a19 author Michael Stahl <michael.stahl@allotropia.de> Wed Mar 10 11:26:07 2021 +0100 committer Michael Stahl <michael.stahl@allotropia.de> Wed Mar 10 16:55:05 2021 +0100 sw: DOCX export: put fly before fieldmark start into its own run Adding CC to: Michael Stahl
Created attachment 173139 [details] The original file saved by Writer
Created attachment 173140 [details] Example file from Writer with one change tracked shape
Created attachment 173141 [details] Screenshot of the original and exported document with two shapes side by side in Writer
Created attachment 173142 [details] Screenshot of the original and exported document with one shape side by side in Writer
yep the shape is written twice into document.xml :(
*** Bug 144402 has been marked as a duplicate of this bug. ***
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f261fae4af72b1328bc3e93fc52a9a24ce0975b3 tdf#143039 tdf#143106 sw: DOCX export: don't export duplicate flys 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.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/eb88b41c15f6451e06b34e2ec0ef5ec4359c200c tdf#143039 tdf#143106 sw: DOCX export: don't export duplicate flys It will be available in 7.3.1. 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.
forgot to say: fixed on master