After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792602 - Animated GIF screenshots only display first frame
Animated GIF screenshots only display first frame
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: Screenshots
3.20.x
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2018-01-17 12:34 UTC by Alan Pope
Modified: 2018-01-24 17:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alan Pope 2018-01-17 12:34:59 UTC
Originally filed on launchad at https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1743429

I am running GNOME Software on Ubuntu 16.04. If I look for Tizonia, it shows the app description and a static screenshot. The media uploaded to the store is actually a gif, but GNOME Software doesn't seem to support it.

Steps to reproduce

* Open GNOME Software
* Search for tizonia
* Wait for screenshot to load

Expected behaviour

* Animated gif plays in the page for the application

Actual behaviour

* Only the first frame of the animated gif is displayed.

See screenshot attached.

This is the media as it has been uploaded to the store:- https://dashboard.snapcraft.io/site_media/appmedia/2017/12/tizonia-usage-screencast.gif
Comment 1 Matthias Klumpp 2018-01-18 15:11:00 UTC
I don't think we want that - the support for only PNG images is quite deliberate, and built into AppStream.

What we could think of at some point is to allow videos to be shown, but in that case I would also like to limit the allowed codec/container format.

With regards to "only PNG" support, the AppStream specification is very upfront, so I don't think the fact that no animations are shown should be surprising to the user.
Comment 2 Robert Ancell 2018-01-22 01:16:49 UTC
The wording from the AppStream spec is (Section 2.1.3):

"They should also be in be in PNG or JPEG format. PNG is the preferred format; JPEG should only be used when screenshots include large photographs or other images where a lossy format like JPEG may compress better."

This is currently worded as a recommendation, not a strict requirement. It's not clear if an AppStream client should work with images formats other than PNG/JPEG.

In this particular case this data comes from snapd, which is not using AppStream. So GNOME Software could support other formats outside the AppStream spec, if this was considered reasonable. GIF seems like a candidate for this.
Comment 3 Robert Ancell 2018-01-22 01:40:32 UTC
If you create a GtkImage and set the provided .gif it does animate, so it seems likely that somewhere inside GNOME Software the animation information is lost - perhaps when the image is scaled.
Comment 4 GNOME Infrastructure Team 2018-01-24 17:59:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/291.