Bug 435858

Summary: Play animated gifs in comic book archives
Product: [Applications] okular Reporter: Todd <toddrme2178>
Component: Comicbook backendAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: aacid, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example comic book archive with animated gifs

Description Todd 2021-04-18 00:02:50 UTC
SUMMARY
When comic book archives (.cbz, .cbr, .cb7, etc.) files contain animated gif images, only the first frame of the gif is shown.

STEPS TO REPRODUCE
1. Open a comic book archive with an animated gif
2. Go to the animated gif

OBSERVED RESULT
Only the first frame of the gif is shown

EXPECTED RESULT
The animation is shown

SOFTWARE/OS VERSIONS
KDE Plasma Version: 20.12.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 Albert Astals Cid 2021-04-18 17:54:13 UTC
Is this actually an expected feature?
Comment 2 Todd 2021-04-19 01:27:51 UTC
(In reply to Albert Astals Cid from comment #1)
> Is this actually an expected feature?

There are electronic comics with animations nowadays, and okular supports animations in PDFs and presentations as far as I understand it, so I think it would be expected for comics as well.
Comment 3 Todd 2021-04-19 01:30:44 UTC
I don't seem to be the only person interested in this.  For example:

https://askubuntu.com/questions/424979/comic-reader-that-supports-animated-gif-images

And there are other comic book archive viewers out there which support animated gifs (see version 1.10.13):

https://www.cdisplayex.com/releasenotes
Comment 4 Albert Astals Cid 2021-04-19 21:37:04 UTC
Could you attach a file we could use for testing if someone decides to implement this feature?
Comment 5 Todd 2021-04-24 04:39:54 UTC
Created attachment 137855 [details]
Example comic book archive with animated gifs

Attached is a comic book archive whose comic panels are animated gifs, as requested.

The files are CC-BY-SA 4.0.  License and attribution are in the archive.