https://bugs.documentfoundation.org/show_bug.cgi?id=90756

            Bug ID: 90756
           Summary: Impress incorrectly caches linked images on active
                    slide linux+windows
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jebsoluti...@gmail.com

Created attachment 114969
  --> https://bugs.documentfoundation.org/attachment.cgi?id=114969&action=edit
slide show, two test images, and script to demonstrate link problem

Linked images in the currently selected slide are not updated if you hit f5 to
start the presentation.  This is 100% repeatable for me on LibreOffice Impress
4.4.2.2 on Windows and Linux.

I have created a 3-slide presentation to demonstrate the problem (test.odp):  
slide 1 = blank
slide 2 = linked to test.png ( a 1920x1080 png file)
slide 3 says "last"
presentation is set to advance to next slide every 2 seconds (will loop
indefinitely)

In the background I have a script that constantly replaces test.png with one of
two images every few seconds.  On linux I am doing this with a file system
link.  Bottom line...this image will change every few seconds so the slide show
should reflect this change whenever it gets to slide 2 and this linked image.

Test #1 - works correctly
If I select slide 1 (blank slide) and run the presentation (f5) then slide 2
will update the linked image if test.png is updated.  This is correct behavior.

Test #2 - Fails
If I select slide 2 (contains the linked test.png) and run the presentation
(f5) then slide 2 will never update the linked image.  This is incorrect.  My
guess is that it is somehow incorrectly caching the image (or treating it as
non-linked) in this case?

Test 3 - (repeat of test #1)...works correctly
If I select slide 1 (blank slide) and hit f5 and run the presentation it works
again.  The linked image will be updated if changed.  

Test #3's success means that the image has not become non-linked  permanently,
it just acts this way if the slide show is started from the linked slide.

I did the same test on Windows (using a batch file to copy vs link the file)
and the same problem occurs.


attached files test.zip:
test.odp - 3 slide slideshow slideshow
one.png - test image
two.png - test image
test2.sh - script that links test.png to either one.png and two.png for testing

note: test.odp links to test.png so you must run the test2.sh script first to
generate the expected image.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to