Issue 125233 - Animated .gif files do not play in groups
Summary: Animated .gif files do not play in groups
Alias: None
Product: Impress
Classification: Application
Component: viewing (show other issues)
Version: 4.1.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: usability
Depends on:
Reported: 2014-07-10 00:19 UTC by Ben
Modified: 2019-11-26 05:09 UTC (History)
3 users (show)

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

Zipped folder with gif files and reproduction presentation file (754.48 KB, application/zip)
2015-04-18 18:15 UTC, Artiom
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Ben 2014-07-10 00:19:19 UTC

Comment 1 Ben 2014-07-10 00:53:23 UTC
.gif files that are grouped with other objects will not play at all in presentation mode.

Problem present in Ubuntu 14.04 with OOo 4.1.0 running 8 core Intel Core i7 and ATI graphics card.

Confirmed example on GoogleDrive, link in URL and here:
Comment 2 Armin Le Grand 2014-07-10 09:34:46 UTC
Same on masterpage and page. In EditView all combinations work, in presentation grouped ones are not played.
Comment 3 Armin Le Grand 2014-07-10 11:52:12 UTC
Checked slideshow implementation. In ShapeImporter::importShape() the group members are imported and held as ShapeOfGroup, non-grouped shapes are held as DrawShape or whatever is needed and created by ShapeImporter::createShape. When forcing for group members to also use ShapeImporter::createShape animation is good. This is because ShapeOfGroup as a helper does not - as ShapeImporter::createShape does - import the graphics and do the handling for animated stuff.
The guy who rewrote that slideshow did a basic handling error here; it is not useful to use the local helper class ShapeOfGroup at all, this should better be an attribute of all possible derivates of Shape so that still for group members the ShapeImporter::createShape method can be used that does the correct and necessary things.
What a mess...
Comment 4 Armin Le Grand 2014-07-10 12:01:17 UTC
Even worse: The GroupShape paints all child shapes, thus when adding real shapes instead of ShapeOfGroup (which paints nothing, is just a helper to represent the hierarchy and grouping) the animation works, but paints will be double. This shows with animated gifs with transparent parts or transparent objects in the group.
This is grouping done completely wrong - the topology of the slideshow is not to use one data object per SdrObject and represent grouping hierarchy but to bundle grouped objects in a single geometry group. That group will loose individual aspects as animation or slideshow animation settings (which may be currently not possible and not supported because of this). From my POV a strange and wrond design decision for the slideshow implementation.
And thus hard to fix (basic topological design problem). Maybe it would be better to redo the slideshow using primitives anyways...
Comment 5 Ben 2014-07-10 15:47:23 UTC
Update: reproduced on Mac OS 10.6 also running Core i7 and OOo 4.1.0. Checked on integrated Intel graphics and discrete graphics card.

Current and obvious work-around is to group objects for moving/scaling, then ungroup them before the presentation.
Comment 6 Artiom 2015-04-18 18:15:40 UTC
Created attachment 84674 [details]
Zipped folder with gif files and reproduction presentation file
Comment 7 Artiom 2015-04-18 18:16:01 UTC
Reproduced successfully

OS: Mac OS X 10.9.5
OO Version: AOO411m6(Build:9775)  -  Rev. 1617669

Steps to reproduce:
1) Create new Presentation
2) Insert gif image (Insert / Picture / From file)
3) Insert any other element using Insert menu
4) Select both elements (gif image and element #2)
5) Right click on elements and select “Group”
6) Observe, that gif image is animated
6) Start presentation (Slide show / Slide Show)
7) See, that gif image isn’t animated

Follow-up tests:
1) Does the same happen with video file?
I have also imported a video file to see if it will play, when grouped with other objects. When I tried grouping them the info message appeared - “This function cannot be run with the selected objects”.

As far as there is a workaround and this bug is hard to fix (as mentioned in the comment #4), the same functionality (“not supported” info message) can be implemented for gifs.

2) Does the same happen in similar products?
I have performed the same test using Google Slides. Gifs are animated as expected using Google docs

3) Is it a regression?
No. The same issue is reproducible using OO 3.x

4) Is it reproducible when exporting to HTML?
Yes, it is reproducible. In fact, exporting to HTML simply doesn’t show animated gifs even if ungrouped, which sounds like another bug.

Attaching zipped folder with reproduction project and 2 gif files. To reproduce using file simply open it and start presentation. You will see, that gifs aren’t animated.
Comment 8 Jane 2019-11-26 05:09:13 UTC
It is still reproducible.

OS: Windowns 10

OO Version: AOO411m6(Build:9775)  -  Rev. 1617669


1) Create new Presentation

2) Insert two .gif images using the Insert menu bar (Choose Insert > Picture > From File)

3) Select both images and over the selected images, right click and select “Group”

4) Observe, that .gif images are animated

5) Start presentation (Slide show / Slide Show)

6) Notice that .gif images aren't animated


1) Verify that all .gif images are shown animated in presentation mode when there are some of them grouped

Actual result: 
Only grouped .gif images are not shown animated in presentation mode

2) Verify that the .gif images are shown animated in presentation mode when it is grouped with any other element(For example: Table, chart, video, hyperlinks, fields)

Actual result: 
The .gif images aren't shown animated in presentation mode when they are grouped with any other element

3) Verify that the .gif image is shown animated in presentation mode when it is added from the text content section

Actual result: 
The .gif image added from the text content section is not shown animated in presentation mode

4) I verified the same tests on .ppt and it is working as expected.

Currently the .gif images are displayed properly after they are grouped when presentation mode is off, but it is not working fine when it is on presentation mode, so it could be confusing for users. 

This issue should be fixed because the .gif image format are frequently used by the users, and I could say that it is a point against for OpenOffice compared with competitive products(for example: Powerpoint) and also it could be annoying for users have to ungroup their .gif images in order that they are displayed properly on presentation mode.