GNOME Bugzilla – Bug 761434
screenshots can mix up between applications
Last modified: 2016-02-02 09:40:52 UTC
This issues had been identified with by looking at the two applications * gedit * girl The first to be shown loads the screenshot, which by upstream is named 'screenshot.png' Searching for the 2nd app in gnome-software loads the description and the 'already cached' screenshot.png - which happens to be from the other application. The screenshots are cached in ~/.cache/gnome-software/screenshots I assume this does not happen in Fedora where screenshots are mirrored to a local infra - something we do not yet have functionally worked out completely for openSUSE.
commit ec41a3671850df63dabe04f197f638956af2ddba Author: Richard Hughes <richard@hughsie.com> Date: Tue Feb 2 09:38:18 2016 +0000 Use a hashed URL prefix for the screenshot local cache filename For metadata that has not been run with 'appstream-util mirror-screenshots' all it takes is for one upstream to choose the same basename for the URL as another application before there is a clash, for instance 'Screenshot1.png'. This scheme should also stop evil apps showing the wrong screenshot for other applications. Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=761434