Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • appstream-generator appstream-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • infrainfra
  • composecompose
  • appstream-generatorappstream-generator
  • Issues
  • #2
Closed
Open
Issue created Jan 21, 2022 by Alexey Minnekhanov@alexeymin♻

New appstream data has weird screenshot URLs

This is how it looks in debugger (needless to say this URL returns 404 and no screenshot is displayed)

image

FTR this weird URL with addition of some base (?) URL comes directly from underlying libappstream (AppstreamQt), no one is manually appending anything in plasma-discover code!

However, metadata XML for org.kde.ktorrent screenshots looks innocent:

<screenshot type="default">
      <image type="source">https://cdn.kde.org/screenshots/ktorrent/ktorrent.png</image>
      <image type="source" width="766" height="541">org/kde/ktorrent.desktop/214435abe2b8d85089dc352adbfb4873/screenshots/image-1_orig.png</image>
      <image type="thumbnail" width="752" height="531">org/kde/ktorrent.desktop/214435abe2b8d85089dc352adbfb4873/screenshots/image-1_752x531.png</image>
      <image type="thumbnail" width="624" height="440">org/kde/ktorrent.desktop/214435abe2b8d85089dc352adbfb4873/screenshots/image-1_624x440.png</image>
      <image type="thumbnail" width="224" height="158">org/kde/ktorrent.desktop/214435abe2b8d85089dc352adbfb4873/screenshots/image-1_224x158.png</image>
</screenshot>

Thumbnails screenshots load fine now though. Issue seems to affect only the first "source" url which starts with https://

Assignee
Assign to
Time tracking