Issue 127124 - saving odp file corrupts image
Summary: saving odp file corrupts image
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Impress
Classification: Application
Component: viewing (show other issues)
Version: 4.1.2
Hardware: PC Windows 10
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-19 13:23 UTC by oo_user57
Modified: 2017-03-10 20:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
odp file with image (32.83 KB, application/vnd.oasis.opendocument.presentation)
2016-09-19 13:23 UTC, oo_user57
no flags Details
ODP with a vectorial picture (30.66 KB, application/vnd.oasis.opendocument.presentation)
2017-03-08 09:50 UTC, oooforum (fr)
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description oo_user57 2016-09-19 13:23:46 UTC
Created attachment 85680 [details]
odp file with image

The file ImageProblem.odp has been saved under LibreOffice 4.1.
If the file is opened under OpenOffice 4.*, the image is displayed well, but if the file is then saved under OpenOffice 4.* (e.g. after applying any changes) and afterwards reopened under OpenOffice 4.*, then only the contour of the image are displayed in OpenOffice 4.* and the image is corrupted.
The problem didn't occur with OpenOffice 3.* or with LibreOffice 4.1, but it also occurs in current versions of LibreOffice starting with 4.2.
Comment 1 Jordan Fox 2017-02-25 02:39:10 UTC
I am able to reproduce the issue on my Windows 10 machine using OpenOffice 4.2, using the file the reporter provided.

My steps are as shown:
1. Open the provided ImageProblem.odp in Impress
2. File->Save As ImageProblem2.odp
3. Open ImageProblem2.odp in Impress
The clip art in the top right corner of the slide becomes noticeably distorted, leaving an outline of the original image with a pale blue fill.

However, I am unable to reproduce with presentations I have created in Microsoft PowerPoint 2016 or LibreOffice 5.3.

This issue could be important for supporting presentations made in different platforms. At this point though it seems to be an isolated case.
Comment 2 oo_user57 2017-02-27 17:50:26 UTC
I've tried it with LibreOffice 5.3 and for me the problem is still the same. You have to apply a change to the file and afterwards save the file and close it. If you then reopen the newly changed file then the clip art is distorted, leaving an outline of the original image with a pale blue fill. Same as before.
If you copy this clip art into a new presentation in LibreOffice 5.3, save this presentation as odp, close LibreOffice and then reopen the new file, the picture is distorted. So there must be a problem with the picture format or its representation and it's not restricted to presentations created in different platforms.
Comment 3 oooforum (fr) 2017-03-05 14:59:49 UTC
This is not an image but a group of vectorial draws.
I see that draws in front are with default color (blue) when document reloaded.
What is the origin of this vectorial file?
Comment 4 oo_user57 2017-03-06 08:49:54 UTC
(In reply to oooforum (fr) from comment #3)
> This is not an image but a group of vectorial draws.
> I see that draws in front are with default color (blue) when document
> reloaded.
> What is the origin of this vectorial file?

I actually don't know the origin of the vectorial file. Is there anything wrong with the vectorial file? I gets properly displayed in "draw" and in "impress". It's a Screenbean Clip Art and I assume that I downloaded it from somewhere.
Comment 5 oooforum (fr) 2017-03-08 09:50:01 UTC
Created attachment 85979 [details]
ODP with a vectorial picture

(In reply to oo_user57 from comment #4)
> I actually don't know the origin of the vectorial file. Is there anything
> wrong with the vectorial file? 
Certainly because I don't reproduce with another SVG file.
Comment 6 oooforum (fr) 2017-03-08 09:53:23 UTC
For me, an issue with your SVG or old build of LibO which corrupt this SVG.