Bug 492656 - Barely readable sizes while updates are installed
Summary: Barely readable sizes while updates are installed
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: master
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-09-04 16:14 UTC by Patrick Silva
Modified: 2024-11-08 23:02 UTC (History)
3 users (show)

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


Attachments
screenshot (226.56 KB, image/png)
2024-09-04 16:14 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2024-09-04 16:14:33 UTC
Created attachment 173327 [details]
screenshot

STEPS TO REPRODUCE
1. open Discover when updates are available
2. install all updates
3. observe the size of the updates while Discover installs them

OBSERVED RESULT
barely readable sizes, as we can see in the attached screenshot

EXPECTED RESULT
better readability

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-09-05 19:25:11 UTC
Can confirm. It's a tricky problem because the bar and background are different colors, so theoretically each one needs a different text color to maintain readability (at least in principle).

Maybe we can cheat a bit a tweak the colors so that they both look good behind a single text color, and then change the text color to that.
Comment 2 Bug Janitor Service 2024-11-08 20:30:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/968
Comment 3 Nate Graham 2024-11-08 22:57:29 UTC
Git commit 2ea20cae225a55382b51df0e0ef485cd05010cac by Nate Graham.
Committed on 08/11/2024 at 20:26.
Pushed by ngraham into branch 'master'.

TransactionProgressIndicator: improve text readability

Previously it would alternate between the text color and highlighted
text color, but this didn't work since the highlighted text color is
only guaranteed to be readable on top of something using the highlight
color, and that couldn't be guaranteed here.

By contrast, the text color always works here, especially with a small
tweak to the colored area to desaturate it a tiny bit.
FIXED-IN: 6.2.4

M  +2    -2    discover/qml/TransactionProgressIndicator.qml

https://invent.kde.org/plasma/discover/-/commit/2ea20cae225a55382b51df0e0ef485cd05010cac
Comment 4 Nate Graham 2024-11-08 23:02:22 UTC
Git commit c2a5e5e2d84960014ac462dda0ced8ea0a823592 by Nate Graham.
Committed on 08/11/2024 at 23:02.
Pushed by ngraham into branch 'Plasma/6.2'.

🍒 LabelBackground: improve text readability

Previously it would alternate between the text color and highlighted
text color, but this didn't work since the highlighted text color is
only guaranteed to be readable on top of something using the highlight
color, and that couldn't be guaranteed here.

By contrast, the text color always works here, especially with a small
tweak to the colored area to desaturate it a tiny bit.
FIXED-IN: 6.2.4


(cherry picked from commit 2ea20cae225a55382b51df0e0ef485cd05010cac)

Co-authored-by: Nate Graham <nate@kde.org>

M  +2    -2    discover/qml/LabelBackground.qml

https://invent.kde.org/plasma/discover/-/commit/c2a5e5e2d84960014ac462dda0ced8ea0a823592