Bug 362462 - The screenshot URL provided in appdata isn't used
Summary: The screenshot URL provided in appdata isn't used
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.6.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 08:00 UTC by Antonio Rojas
Modified: 2016-09-09 10:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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