Bug 447970

Summary: Energy page: Graphs could be more readable with dark themes
Product: [Applications] kinfocenter Reporter: OrakMoya <orakmoyaofficial>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: minor CC: nate, plasma-bugs, putr4.s, sitter
Priority: NOR Keywords: usability
Version: 5.23.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.27.4
Sentry Crash Report:
Attachments: Screenshot of graphs with different themes

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.!