Bug 464865 - Headerbar/party mode background generation algorithm does not work correctly with artwork from radio stations
Summary: Headerbar/party mode background generation algorithm does not work correctly ...
Status: CONFIRMED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 22.12.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-26 18:56 UTC by P. Förster
Modified: 2023-02-02 20:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Party Mode: White text on a white background is not readable (301.58 KB, image/png)
2023-01-26 18:56 UTC, P. Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description P. Förster 2023-01-26 18:56:39 UTC
Created attachment 155677 [details]
Party Mode: White text on a white background is not readable

SUMMARY
Just look at the image.

STEPS TO REPRODUCE
1. Open Elisa
2. Add a radio station's background image that has white as part of it

OBSERVED RESULT
The name of the radio station and the text "Radio stations" is not properly visible (white text on white background).

EXPECTED RESULT
Either the text color should turn black or there should be a background behind the text. The main point is that the text is readable, regardless of how to achieve that.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10710U CPU @ 1.10GHz
Memory: 15,3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Nate Graham 2023-01-27 17:45:34 UTC
The background is supposed to be darkened to prevent this situation. Judging from the screenshot, something is quite wrong with the background in general.

Can you make this happen when playing a music file that has album art with wqite elements in it, or does it only happen with radios?
Comment 2 P. Förster 2023-01-27 18:57:50 UTC
It doesn't seem to happen when playing local music. And yes, it looks like the background is darkened.

Is it possible that transparency causes this issue? In the example screenshot https://upload.wikimedia.org/wikipedia/en/thumb/0/05/The_Heart_Network_logo.svg/2880px-The_Heart_Network_logo.svg.png is used as an image which is full of transparency.