Issue 42741 - Replacing linked picture does not work
Summary: Replacing linked picture does not work
Status: CONFIRMED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.4
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 14:19 UTC by docb
Modified: 2017-05-20 10:55 UTC (History)
3 users (show)

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


Attachments
showing the undesired Linked property propogating to a new image (78.46 KB, image/png)
2008-02-05 06:34 UTC, plouj
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description docb 2005-02-14 14:19:40 UTC
Create a presentation in which some pictures are imported as link (Insert ->
Graphic). Make sure the 'Link' (Verknüpfen) is ticked.
Save presentation, move to different location to break links. When opened again,
an outlined box is displayed. Click on the box (to make sure the picture
properties are taken over to the new picture), select again insert graphic, this
time not linked, and insert the old graphic again.
Result: Picture is displayed. So far, so good.
Now go to the next slide and do the same. Return to the first slide: picture is
gone, only the frame with the broken link is displayed. This is not the desired
result.
Comment 1 wolframgarten 2005-02-22 12:47:32 UTC
Sorry, not reproducible. After returning to the first slide the picture is still
there. Can you still reproduce it?
Comment 2 docb 2005-02-22 13:22:06 UTC
Yes, I can, just tried (this time on Windoze): If you are on the second slide
and save the presentation, the picture on the first slide is gone (cant remember
if bug description worked without saving in the first glace, but in the second
it did)
Comment 3 wolframgarten 2005-02-22 13:34:13 UTC
Ah, yes, the saving was important. After altering the second slide and saving,
reloading, the picture on the first page is missing.
Comment 4 wolframgarten 2005-02-22 13:35:02 UTC
Reassigned to Christian.
Comment 5 aschrage 2005-03-31 12:43:14 UTC
A similar behavior is described in issue 46300
Comment 6 plouj 2008-02-04 03:41:51 UTC
Reproducible in openoffice.org-2.3.0-6.11.fc8 from Fedora 8. Below are detailed
instructions

at a terminal prompt, type:

ooimpress

click [Create]
go to Insert -> Picture -> From File ...
type "/tmp/test1.jpg" in the "File name:" field
make sure there is a check-mark beside the "Link" option
click [Open]

test2.jpg image will appear on the first slide

press CTRL+s
type "/tmp/test.odp" in the "File name: field
click [Save] to save the presentation with a linked image
press CTRL+w to close the presentation

at a terminal prompt, type:

$ mv /tmp/test1.jpg /tmp/test2.jpg

to break the link to the image in the presentation

press CTRL+o to open the "Open" dialog
type "/tmp/test.odp" in the "File name: field
click [Open]

a presentation will appear showing a broken image rectangle named
file:///tmp/test1.jpg on the first slide

left click anywhere within the broken image rectangle to select the image
while the broken image is still selected,
go to Insert -> Picture -> From File ...
type "/tmp/test2.jpg" in the "File name:" field
make sure there is _no_ check-mark beside the "Link" option
click [Open]
go to Insert -> Slide to insert a new slide

everything is still working as expected

go to Insert -> Picture -> From File ...
type "/tmp/test2.jpg" in the "File name:" field
make sure there is _no_ check-mark beside the "Link" option
click [Open]

at this time test2.jpg should appear on the second slide
however, the first slide shows a broken image rectangle named file:///tmp/test1.jpg
click on the "Slide 1" slide in the Slides pane to see the first slide having a
broken image rectangle.

Alternatively, you can reproduce this by:
starting at the point where "everything is still working as expected"
press CTRL+s to save the presentation
click on slide "Slide" in the Slides pane on the right to go to the first slide
at this point the first slide shows a broken image rectangle named
file:///tmp/test1.jpg
Comment 7 plouj 2008-02-05 06:33:14 UTC
I just noticed that if I follow the outlined steps up to inserting a second,
unlinked image, ooimpress shows a "Linked Bitmap selected" message in the bottom
left corner.
Comment 8 plouj 2008-02-05 06:34:12 UTC
Created attachment 51371 [details]
showing the undesired Linked property propogating to a new image
Comment 9 Marcus 2017-05-20 10:55:26 UTC
Reset assigne to the default "issues@openoffice.apache.org".