Bug 77262 - VIEWING: Some animated GIFs display quite wrong on OS X
Summary: VIEWING: Some animated GIFs display quite wrong on OS X
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other Mac OS X (All)
: medium minor
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: Images-Animated
  Show dependency treegraph
Reported: 2014-04-10 06:15 UTC by Tor Lillqvist
Modified: 2019-11-02 15:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

writer file, working gif animation (284.09 KB, application/vnd.oasis.opendocument.text)
2014-04-13 10:53 UTC, retired
Test case with non-working gif (320.62 KB, application/vnd.oasis.opendocument.text)
2016-09-10 19:55 UTC, eisa01

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Lillqvist 2014-04-10 06:15:23 UTC
Insert an animated GIF in a Writer document. Watch the weirdness. Does not seem to happen on Linux, so don't bother trying to reproduce on Linux.

In case the bug depends on how complex the animated GIF is, it happens at least for the one I now added to the odk/examples/java/DocumentHandling/test/test1.odt document.
Operating System: Mac OS X
Version: release
Comment 1 retired 2014-04-10 14:07:08 UTC
Tor, not sure where to find that test file. Could you attach it?
"added to the odk/examples/java/DocumentHandling/test/test1.odt document"
Comment 2 Tor Lillqvist 2014-04-10 14:11:55 UTC
It's in the LibreOffice source code. But did you try at all with *any* animated GIF? Only if the problem is not reproducible with any random animated GIF might it be worth it to try that test doc... I say so in the initial comment.
Comment 3 retired 2014-04-13 10:52:45 UTC
4.2.3: gif adds fine, then only displays the first image, wait, wait some more, then gif is played animated just fine.

latest nightly: gif plays instantly.

test case attached.

Tor, what do you think? WORKSFORME? Did you try with latest nightly? Please re-open if you disagree and add more detail.
Comment 4 retired 2014-04-13 10:53:21 UTC
Created attachment 97302 [details]
writer file, working gif animation
Comment 5 Tor Lillqvist 2014-04-13 10:56:06 UTC
I build LibreOffice myself of course, no need for me to use nightlies.
Comment 6 retired 2014-04-13 12:30:47 UTC
And with your own build, do animated gifs work fine?
Comment 7 Tor Lillqvist 2014-04-13 13:44:27 UTC
If they would, I wouldn't have filed this bug, would I?
Comment 8 Tor Lillqvist 2015-01-25 08:12:18 UTC
Does not work for me. LibreOffice from TDF displays the rotating globe in the mentioned document quite wrong. This is on OS X 10.10.
Comment 9 eisa01 2016-09-10 19:55:32 UTC
Created attachment 127250 [details]
Test case with non-working gif
Comment 10 eisa01 2016-09-10 20:10:35 UTC
I can reproduce this bug with the attached non-working test case on macOS 10.11.6 and LO Test case uses the same gif as the bug reporter, but I cleaned the document to only contain the gif and some text.

First frame looks normal, but then it seems like only the changes between frames is shown. Instead it seems to show part of the page itself.

The attached working gif animation test case works fine however.
Comment 11 Xisco Faulí 2017-09-29 08:53:34 UTC Comment hidden (obsolete)
Comment 12 eisa01 2017-10-20 19:50:02 UTC
Still present, and in 3.3

Double checked that this works in Impress, as such I would set this to minor as very few Writer docs will have this issue

Build ID: 15dce20e8b97dbd0179f01910ca4d0027e80ff4e
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2017-10-20_06:46:46
Locale: en-US (en_US.UTF-8); Calc: group
Comment 13 2012gdwu 2018-09-23 09:43:29 UTC
Also broken on Linux (Opensuse Tumbleweed) for me.

Build-ID: 10(Build:3)
CPU-Threads: 4; BS: Linux 4.18; UI-Render: Standard; VCL: gtk3_kde5; 
Gebietsschema: de-DE (en_US.UTF-8); Calc: group threaded
Comment 14 QA Administrators 2019-09-24 03:10:08 UTC Comment hidden (obsolete)
Comment 15 eisa01 2019-11-02 15:31:27 UTC
This is still present

Build ID: 80109586e6cb6d3e2e0a53a9079c3125ec9b8368
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded