Bug 71581 - FILESAVE: DOCX: white artifact in the middle of exported pictures
Summary: FILESAVE: DOCX: white artifact in the middle of exported pictures
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.2.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:4.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-13 16:07 UTC by Jacobo Aragunde Pérez
Modified: 2013-11-21 17:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test case (15.59 KB, application/x-vnd.oasis.opendocument.text)
2013-11-13 16:07 UTC, Jacobo Aragunde Pérez
Details
Word 2010 screenshot (35.62 KB, image/png)
2013-11-13 16:08 UTC, Jacobo Aragunde Pérez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacobo Aragunde Pérez 2013-11-13 16:07:29 UTC
Created attachment 89152 [details]
Test case

Steps to reproduce:

1. Open attached document (it contains a picture saved as a Draw object).
2. Save as a .docx.
3. Open the exported document with Office 2010. You will see a white artifact in the middle of the picture.

Additional info:

* Very recent bug in master. Until now, this kind of pictures weren't even saved on export.
* Office 2007 seems to render the exported document properly.
* It can be reproduced too with the free Word viewer in MS SkyDrive.
Comment 1 Jacobo Aragunde Pérez 2013-11-13 16:08:14 UTC
Created attachment 89153 [details]
Word 2010 screenshot

Screenshot of how the exported document looks like in Word 2010.
Comment 2 Jorendc 2013-11-14 16:45:54 UTC
I can reproduce this behavior, tested using Mac OSX 10.9 with LibreOffice Version: 4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a and compared on Word for Mac. Looks almost the same on Word for Mac as attached screenshot (but that's a problem with the Word for Mac).

Kind regards,
Joren
Comment 3 Commit Notification 2013-11-15 09:58:30 UTC
Muthu Subramanian committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=889b01696b7a3f55b5008a3cc58e3903d3d2779b

fdo#71581: Use pictureFrame for images.



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.
Comment 4 Commit Notification 2013-11-15 11:28:18 UTC
Muthu Subramanian committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=98e7faeeb59e2fc13681bfc3896016b64a81d665

fdo#71581: Fix unit test cases.



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.
Comment 5 Jacobo Aragunde Pérez 2013-11-21 17:45:12 UTC
Thanks to Muthu Subramanian for his patches :)