Bug 362462

Summary: The screenshot URL provided in appdata isn't used
Product: [Applications] Discover Reporter: Antonio Rojas <arojas>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED UPSTREAM    
Severity: normal CC: vasudevvedusav
Priority: NOR    
Version First Reported In: 5.6.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antonio Rojas 2016-04-29 08:00:13 UTC
If the appdata provides a screenshot URL, Discover still gets it from screenshots.debian. The debian one should only be used as a fallback.


Reproducible: Always

Steps to Reproduce:
1.Search for 'dolphin'

Actual Results:  
2. The screenshot from debian is used.

Expected Results:  
3. Screenshot URL from the dolphin appdata should be used (http://kde.org/images/screenshots/dolphin.png), as gnome-software does.
Comment 1 Aleix Pol 2016-04-29 11:29:21 UTC
That must be an issue downstream somewhere:

$ appstreamcli search dolphin --details
Identifier: org.kde.dolphin.desktop [desktop]
Name: Dolphin
Summary: File Manager
Package: dolphin
Homepage: http://dolphin.kde.org/
Icon: dolphin_system-file-manager.png
Description: 
  Dolphin is a lightweight file manager. It has been designed
  with ease of use and simplicity in mind, while still allowing flexibility and customisation.
  This means that you can do your file management exactly the way you want to do it.
  
  Features:
   • Navigation (or breadcrumb) bar for URLs, allowing you to quickly navigate through
  the hierarchy of files and folders.
   • Supports several different kinds of view styles and properties and allows you
  to configure the view exactly how you want it.
   • Split view, allowing you to easily copy or move files between locations.
   • Additional information and shortcuts are available as dock-able panels, allowing
  you to move them around freely and display exactly what you want.
   • Multiple tab support
   • Informational dialogues are displayed in an unobtrusive way.
   • Undo/redo support
   • Transparent network access through the KIO system.
Sample Screenshot URL: http://screenshots.debian.net/screenshot/dolphin
Project Group: KDE
License: GPL-2.0+
Categories: System, FileTools, FileManager,
Comment 2 Antonio Rojas 2016-04-29 11:50:54 UTC
Thanks, reported upstream: https://github.com/ximion/appstream/issues/34