Created attachment 98887 [details] Original file Steps to reproduce: 1. Load the attached DOCX in LO 2. Save as NEW.DOCX 3. Open the NEW.DOCX in Word Current behavior: File gets corrupt Expected behavior: File should open without any error Error: ErrorMessage - Can not put drawing objects into a text box, callout, comment, footnote or endnote
Reproducible, tested using Mac OSX 10.9 with LibreOffice Version: 4.3.0.0.alpha1+ Build ID: cc4a3f1a88afff114311bddf462ca4bc00a485c7 TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-05-12_09:05:53
Rohit Deshmukh committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1c876f5616522ab695de8c0316cdb0c601081815 fdo#78590: Fix for Corruption of para with framePr & drawing object into para The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 126458 [details] FDO78590b.docx - with paragraphs above and below the graphic (lost when roundtripped) The fix in comment 2 causes one paragraph to disappear each time LO saves the file, so both the "Before graphic" and "After graphic" paragraphs will be deleted after repeated saves. See (meta) bug 75573 which also exhibits this problem. Leaving the status as resolved and will fix this in bug 75573.
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/97b84d31a1db2ec690d180effad307f331d62fb9 tdf#154129 tdf#78590 writerfilter framePr: deduplicate grabbag It will be available in 7.6.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.