Issue 126201 - svm graphic image works in AOO 4.0, doesn't work in AOO 4.1.1
Summary: svm graphic image works in AOO 4.0, doesn't work in AOO 4.1.1
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 4.1.1
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-24 12:35 UTC by Joe Smith
Modified: 2015-03-24 20:01 UTC (History)
2 users (show)

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


Attachments
Problem graphic file (971 bytes, application/octet-stream)
2015-03-24 12:38 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2015-03-24 12:35:33 UTC
Forum user reported that a graphic used in many (hundreds) of their documents has stopped working with AOO 4.1.1.

Extracting the graphics from a sample document led to the problem svm file (attached): the file opens fine in AOO 4.0.1 but in AOO 4.1.1 it produces only an empty frame.

Opening and exporting the svm using AOO Draw 4.0.1 produces an svm file that AOO 4.1.1 will load.

Forum post:
https://forum.openoffice.org/en/forum/viewtopic.php?p=346267#p346267

Tested on AOO 4.0.1 & 4.1.1 on Fedora Linux; reported by user running AOO on Windows.
Comment 1 Joe Smith 2015-03-24 12:38:07 UTC
Created attachment 84616 [details]
Problem graphic file
Comment 2 oooforum (fr) 2015-03-24 15:28:32 UTC
Could you explain how did you produced this svm file?
Comment 3 Joe Smith 2015-03-24 15:36:38 UTC
(In reply to oooforum from comment #2)
> Could you explain how did you produced this svm file?

It was manually extracted from the problem (Writer) document using unzip.

The writer document was provided to me privately so I didn't want to attach it here, and the problem seems clearly to be in the embedded svm file.

Exporting the graphic using AOO 4.0.1 and replacing the embedded svm in the document file (using zip) fixes the document for AOO 4.1.1. So the problem seems to have nothing to do with the Writer document.

It might be possible to get a sample Writer document if necessary.
Comment 4 Joe Smith 2015-03-24 15:40:19 UTC
I looked into the file data and the svm exported by AOO 4.0.1 is very different from the data in the original file.

The original embedded svm (attached here) is ~1k bytes. The svm exported by AOO 401 is >10k.
Comment 5 oooforum (fr) 2015-03-24 15:51:43 UTC
Did you read issue from ticket #82969
Comment 6 Joe Smith 2015-03-24 16:57:57 UTC
(In reply to oooforum from comment #5)
> Did you read issue from ticket #82969

Thanks, yes. As far as I can see it's not related.

The svm attached here works fine in AOO 4.0.1, both in the Writer document and in the extracted svm file, so regardless of where the original svm came from, there's a regression here: some change in OO 4.1.1 broke the OP's documents.
Comment 7 Regina Henschel 2015-03-24 20:01:56 UTC
It is OK in r1573601 2014-03-03.
It is broken in r1586371.

I haven't got any build between these.