Bug 443228

Summary: Animated GIFs do not play in Presentation mode
Product: [Applications] digikam Reporter: John Preston <gizmoguy1>
Component: Plugin-Generic-PresentationAssignee: Digikam Developers <digikam-bugs-null>
Status: REOPENED ---    
Severity: wishlist CC: caulier.gilles, gizmoguy1, metzpinguin, paul
Priority: NOR    
Version First Reported In: 7.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: for testing the animations in Okular

Description John Preston 2021-10-02 18:29:04 UTC
SUMMARY

Hello,

When I start a presentation via View > Presentation... , any animated GIFs in the image selection do not play, instead only the first frame of the GIF is displayed.

This is contrary to Slideshow mode, where animated GIFs do play. In Slideshow, an animated GIF will play for it's entire duration, regardless of the slideshow delay setting. So e.g. if I have a GIF that's 4 seconds long and my slideshow is set at 2 seconds interval, the GIF will still take up 4 seconds.

I think Presentation mode should play animated GIFs and have an option to either play the GIF to completion, or play the GIF up to the presentation interval time, and then move on to the next image. This is consistent with how nomacs handles presentations/slideshows with animated GIFs.

I am using digiKam 7.3.0.

Thanks!

STEPS TO REPRODUCE
1. Add some animated GIFs to your library
2. Start Presentation
3. Observe GIFs are not animated

OBSERVED RESULT

Animated GIFs in Presentation just show first frame.

EXPECTED RESULT

Animated GIFs in Presentation should be animated.

SOFTWARE/OS VERSIONS 
Linux: 5.14.8
KDE Plasma Version: Unknown (using i3wm)
KDE Frameworks Version: /unknown (using i3wm)
Qt Version: Unknown (whatever digiKam 7.3.0 in Arch is built against)

ADDITIONAL INFORMATION

Not tested yet in 7.4.0 but I can give it a go.
Comment 1 paul 2025-11-17 14:39:23 UTC
Same bug here. Version 25.08.1 of Okular.
Comment 2 caulier.gilles 2025-11-17 15:10:38 UTC
Hum Okular is not digiKam and vis-versa. It's not comparable...
Comment 3 caulier.gilles 2025-11-17 15:11:45 UTC
Paul, can you share an animated Gif to double check with a recent version of digiKam/ffmpeg ?
Comment 4 Maik Qualmann 2025-11-17 16:13:58 UTC
The presentation tool does not have a video/GIF player. Only the slideshow tool has this player.

Maik
Comment 5 paul 2025-11-20 20:51:59 UTC
Created attachment 187006 [details]
for testing the animations in Okular

@Caulier, yes you are right, sorry for the report on the wrong software. I'm indeed talking about Okular. 
I tried a few things more, and the presentation mode stops the animation when the number of images in the animation (on the page) becomes larger. In the pdf I've attached you have one animation with 3 photos, and one animation with 150 photos twice on the page. Without presentation mode in Okular it works fine, however the moment I switch to presentation mode, the page with the larger animations stop working while the page with the 3 photos animation still works.
Comment 6 caulier.gilles 2025-11-21 05:28:45 UTC
Comment on attachment 187006 [details]
for testing the animations in Okular

Your attachment is a PDF for Okular tests. We expect .agif files to double check in digiKam if the animated images are supported as video.

PDF (with or without scripts) are just thumbnailized in digiKam without annimation. For the view, an external application as Okular is used.
Comment 7 caulier.gilles 2025-11-21 06:02:03 UTC
Apple macbook pro M1 screen recording of aGIF support in digiKam 8.9.0 in preview and slideshow as video files:

https://imgur.com/a/zvSCTCA

See the macOS screen recording demonstrating the agif support as video in preview mode and slideshow. All work as expected.

About the Okular wish. Please report in the bugzilla section corresponding to Okular.

About digiKam, i close this file as work for me.
Comment 8 caulier.gilles 2025-11-21 06:25:07 UTC
Reopened as the file topic is about Presentation tool which do not support yet the video.