Bug 447970 - Energy page: Graphs could be more readable with dark themes
Summary: Energy page: Graphs could be more readable with dark themes
Status: RESOLVED FIXED
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: 5.23.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-01-05 12:08 UTC by OrakMoya
Modified: 2023-03-31 14:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.4


Attachments
Screenshot of graphs with different themes (135.82 KB, image/png)
2022-01-05 12:08 UTC, OrakMoya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OrakMoya 2022-01-05 12:08:58 UTC
Created attachment 145127 [details]
Screenshot of graphs with different themes

SUMMARY

The graphs of Charge Percentage and Energy Consumption are not very readable with themes that have dark backgrounds


STEPS TO REPRODUCE
1. Switch global theme or global colors to Breeze Dark or any theme with a dark background.
2. Open Energy in the Info Center
3. Try to read the graph.

OBSERVED RESULT
The red line against the dark background is not very readable, and the red area beneath is almost unnoticeable.
See attachment

EXPECTED RESULT
The graph line pops out from the background. 


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux running kernel 5.15.12-arch1-1
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Maybe make the graph color dependent on the background color of the current theme?
Comment 1 OrakMoya 2022-01-05 12:22:49 UTC
I noticed that the screenshot of the graphs is quite readable on my phone, so I guess the problem is partly because of my laptop screen. But still, it wouldn't hurt to make the graphs more readable.
Comment 2 Prajna Sariputra 2023-03-31 05:12:10 UTC
In my case while the graph line itself plus the area under it is visible enough the grid lines in the background are near invisible with Breeze Dark, which makes it hard for me to check whether power consumption has stayed under 10W for example.
Comment 3 Nate Graham 2023-03-31 14:11:16 UTC
Fixed by Prajna Sariputra with https://invent.kde.org/plasma/kinfocenter/-/commit/174cd66a5edab2adb4a93e127e4ee8ad8b443381 in Plasma 5.27.!