Bug 475817 - Screenshots are low resolution and unreadable, even when expanded
Summary: Screenshots are low resolution and unreadable, even when expanded
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.27.8
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-19 01:47 UTC by Russell Haley
Modified: 2023-10-27 10:55 UTC (History)
4 users (show)

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


Attachments
screenshot of discover showing a zoomed screenshot for org.kde.kmymoney.desktop (500.36 KB, image/png)
2023-10-19 01:47 UTC, Russell Haley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Haley 2023-10-19 01:47:07 UTC
Created attachment 162415 [details]
screenshot of discover showing a zoomed screenshot for org.kde.kmymoney.desktop

SUMMARY

App screenshots are low resolution and unreadable, even when expanded

STEPS TO REPRODUCE
1. Go to the details page of any app in Discover.
2. Click on a screenshot to see the full size.

OBSERVED RESULT

The "expanded" screenshot is still some low-res downscale.

EXPECTED RESULT

The expected screenshot is full native resolution.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.6-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

I'm not entirely sure what provides these screenshots, but comments on Bug 455304 and Bug 400430 suggest they're from the appstream metadata.  But if I run `appstreamcli dump org.kde.kmymoney.desktop`, the default screenshot has these files available:

    <image type="source">https://cdn.kde.org/screenshots/kmymoney/kmymoney.png</image>
    <image type="thumbnail" width="624" height="351">https://dl.flathub.org/repo/screenshots/org.kde.kmymoney-stable/624x351/org.kde.kmymoney-91c6b8619ee53c713b40b73fbac661e5.png</image>
    <image type="thumbnail" width="112" height="63">https://dl.flathub.org/repo/screenshots/org.kde.kmymoney-stable/112x63/org.kde.kmymoney-91c6b8619ee53c713b40b73fbac661e5.png</image>
    <image type="thumbnail" width="224" height="126">https://dl.flathub.org/repo/screenshots/org.kde.kmymoney-stable/224x126/org.kde.kmymoney-91c6b8619ee53c713b40b73fbac661e5.png</image>
    <image type="thumbnail" width="752" height="423">https://dl.flathub.org/repo/screenshots/org.kde.kmymoney-stable/752x423/org.kde.kmymoney-91c6b8619ee53c713b40b73fbac661e5.png</image>

There is a native resolution source image available, which is obviously what should be used, but the image discover shows is much smaller.  It doesn't match the scale of any of the options, so if it's not scaled from source, it might have even been scaled TWICE.
Comment 1 ratijas 2023-10-27 10:55:46 UTC
Seems to be fixed with recent redesign of carousel / screenshots gallery

See also: https://invent.kde.org/plasma/discover/-/merge_requests/636