https://bugs.kde.org/show_bug.cgi?id=413812

            Bug ID: 413812
           Summary: Discover displays empty area for screenshots that are
                    invalid
           Product: Discover
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: lei...@leinir.dk
          Reporter: n...@kde.org
                CC: aleix...@kde.org
  Target Milestone: ---

For example, the AppStream info for Virtualbox in Tumbleweed does defines an
invalid image URL for its screenshot
(https://www.virtualbox.org/attachment/wiki/Screenshots/OpenSuse13.2_on_Windows_7.png).
Running discover from the CLI reveals the following error:

qrc:/qml/ApplicationScreenshots.qml:149:17: QML Image: Error decoding:
https://www.virtualbox.org/attachment/wiki/Screenshots/OpenSuse13.2_on_Windows_7.png:
Unsupported image format

The URL, despite its filename extension, leads to a web page and not to the
actual image itself. The actual URL for the image is
https://www.virtualbox.org/raw-attachment/wiki/Screenshots/OpenSuse13.2_on_Windows_7.png

In this situation, Discover should not display anything, not even reserving
space for the invalid screenshot if it's the only one.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to