Issue 118729 - linked svg graphic looses link
Summary: linked svg graphic looses link
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: open-import (show other issues)
Version: 3.4.0 Beta (OOo)
Hardware: PC Windows XP
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: Armin Le Grand
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 16:27 UTC by Regina Henschel
Modified: 2017-05-20 10:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2012-01-05 16:27:02 UTC
It might be the same reason as issue 118728, but the bug is a little bit different.

Take a new Draw document.
Insert the svg-graphic, which is attached to issue 118728 as linked graphic.
Save the document and close it.
Reopen the document.

Notice, that not the svg-graphic is shown, but a bitmap-picture.
Goto Edit > Links. Notice, that there is no link listed.
Comment 1 Armin Le Grand 2012-01-11 11:08:35 UTC
ALG: Reason identified: With the new MultiImage support a link svg and a non-link png gets saved. At load time the decider uses the URLs to weight the quality of multiple images. The error is that for linked images the URL is not fetched using 'GraphicStreamURL' property, but 'GraphicURL'. Thus, for linked images the URL for quality weighting was empty, thus the png won.

Very good catch, corrected this to use 'GraphicURL' for links and all is working well. Also checked Writer which uses the same mechanism, but there the URL access is simpler and already was correct.
Comment 2 Armin Le Grand 2012-01-11 11:47:20 UTC
ALG: Added using 'GraphicStreamURL' and 'GraphicURL' if needed. Checked Wirter usage, also correct. Comitted, done.