Bug 496776

Summary: Illegible Text when Embedded Cover Art within MP3 has Transparent Background
Product: [Applications] kasts Reporter: Pratik Patel <pkpatel88>
Component: generalAssignee: bart
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of Illegible Text on Episode Details

Description Pratik Patel 2024-11-28 05:26:09 UTC
Created attachment 176179 [details]
Screenshot of Illegible Text on Episode Details

SUMMARY
Episode title and podcasts title are illegible when the embedded cover art within MP3 has a transparent background

Example Podcast: Marketplace Morning Report
https://www.marketplace.org/feed/podcast/marketplace-morning-report
Important Note: Podcast cover art has a white background while the individual episode cover art embedded within the file (not in feed) has cover art with a transparent background. 

STEPS TO REPRODUCE
1. Subscribe to Marketplace Morning Report
2. Click on Subscriptions
3. Click on Marketplace Morning Report
4. Click on on an Episode that has cover art with a transparent background

OBSERVED RESULT
Episode title and podcasts title are illegible in Episode Details, because episode's mp3 embedded cover art has a transparent background
Podcast title is legible in Podcast details page, because podcast cover art has a white background.

SOFTWARE/OS VERSIONS
Packaged by: Flatpak
Comment 1 Pratik Patel 2024-11-28 05:37:56 UTC
Kasts has the observed issue in the version distributed via Flathub.
Comment 2 bart 2024-11-28 17:27:36 UTC
Thanks for reporting.  I can see how it can go wrong with a transparent background...
Comment 3 Bug Janitor Service 2025-02-16 12:51:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kasts/-/merge_requests/250
Comment 4 bart 2025-02-16 12:54:27 UTC
Git commit 7d3035cd96d2eb75419051bc7ca057c5f6435feb by Bart De Vries.
Committed on 16/02/2025 at 12:48.
Pushed by bdevries into branch 'master'.

Set a dark enough background on header

This is needed to make the header text legible if the image background
itself is transparent.

M  +1    -3    src/qml/Desktop/HeaderBar.qml

https://invent.kde.org/multimedia/kasts/-/commit/7d3035cd96d2eb75419051bc7ca057c5f6435feb
Comment 5 bart 2025-02-16 12:58:49 UTC
Git commit 1ae9140431ab9a3daf1690426bced7b921174832 by Bart De Vries.
Committed on 16/02/2025 at 12:58.
Pushed by bdevries into branch 'release/24.12'.

Set a dark enough background on header

This is needed to make the header text legible if the image background
itself is transparent.

M  +1    -1    src/qml/Desktop/HeaderBar.qml

https://invent.kde.org/multimedia/kasts/-/commit/1ae9140431ab9a3daf1690426bced7b921174832