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

            Bug ID: 453027
           Summary: Errors in knewstuff when loading preview images
           Product: frameworks-knewstuff
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ad...@leinir.dk
          Reporter: justin.zo...@gmail.com
                CC: aleix...@kde.org, alexander.loh...@gmx.de,
                    kdelibs-b...@kde.org, n...@kde.org
  Target Milestone: ---

When products are installed through knewstuff their information is recorded in
~/.local/share/knewstuff3/xcursor.knsregistry for example for cursors.

This includes the preview image URL. The image server URL has recently (last
month or so) changed from cn.opendesktop.org to images.pling.com

This causes already installed products to not have a preview image and errors
about the SSL certificate received.

It would be better if knewstuff instead only recorded the API product URL and
then it would need to look up the product's image via the product request e.g.
https://api.kde-look.org/ocs/v1/content/data/1170170 



Example of old image server URL hard encoded in knewstuff registry file:

grep -i cn.opendesktop.org ~/.local/share/knewstuff3/xcursor.knsregistry
18: 
<preview>https://cn.opendesktop.org/cache/100x100-0/img/3/9/f/c/bf76830de87b7aac326717685c9301cb2f89.png</preview>
19: 
<previewBig>https://cn.opendesktop.org/cache/770x540-0/img/3/9/f/c/bf76830de87b7aac326717685c9301cb2f89.png</previewBig>
87: 
<preview>https://cn.opendesktop.org/cache/100x100-0/img/5/7/8/9/b99c9191c040fc729cdb5855ee55522c05b405fdaf43e2cf3bb26dab3b821bfeb6a2.png</preview>
88: 
<previewBig>https://cn.opendesktop.org/cache/770x540-0/img/5/7/8/9/b99c9191c040fc729cdb5855ee55522c05b405fdaf43e2cf3bb26dab3b821bfeb6a2.png</previewBig>
127: 
<preview>https://cn.opendesktop.org/cache/100x100-0/img/0/e/f/7/c90e248bf7a72a4ec8aaec653db520630cca.png</preview>
128: 
<previewBig>https://cn.opendesktop.org/cache/770x540-0/img/0/e/f/7/c90e248bf7a72a4ec8aaec653db520630cca.png</previewBig>

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

Reply via email to