Bug 418363 - Legend's font in "Energy Consumption Statistics" graph is blurry
Summary: Legend's font in "Energy Consumption Statistics" graph is blurry
Status: RESOLVED FIXED
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-01 16:04 UTC by Vladimir Yerilov
Modified: 2022-10-09 19:06 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26


Attachments
A screenshot KInfoCenter (59.35 KB, image/png)
2020-03-01 16:04 UTC, Vladimir Yerilov
Details
Another screenshot KInfoCenter (121.07 KB, image/png)
2020-10-27 04:34 UTC, Vladimir Yerilov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Yerilov 2020-03-01 16:04:18 UTC
Created attachment 126524 [details]
A screenshot KInfoCenter

SUMMARY
KInfoCenter's Energy Consumption Statistics has a nice graph of battery percentage and energy consumption history, but x and y figures are ugly and blurry for a very long period, I can't even remember if those figures ever were clearly readable.

Just compare percentage and time figures (100, 90, 80, and so on) with any other text.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux 19.0
(available in About System)
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Maybe a QT bug.
Comment 1 Vladimir Yerilov 2020-04-05 12:31:20 UTC
Output of `kinfocenter` in terminal:
```
$ kinfocenter
Couldn't load plugin: "The shared library was not found."
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:130: TypeError: Cannot read property 'x' of undefined
file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:130: TypeError: Cannot read property 'x' of undefined
file:///usr/lib/qt/qml/org/kde/kirigami.2/AbstractApplicationItem.qml:319:9: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.14 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:130: TypeError: Cannot read property 'x' of undefined
file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:130: TypeError: Cannot read property 'x' of undefined
file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:68: TypeError: Cannot read property 'x' of undefined
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/private/ScrollView.qml:99:9: QML Flickable: Binding loop detected for property "contentHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/private/ScrollView.qml:99:9: QML Flickable: Binding loop detected for property "contentHeight"

```
Comment 2 Vladimir Yerilov 2020-10-27 04:30:43 UTC
Attaching one more screenshot to demonstrate what I mean.
Compare the text blurriness in red and green rectangles.
Comment 3 Vladimir Yerilov 2020-10-27 04:34:25 UTC
Created attachment 132780 [details]
Another screenshot KInfoCenter

Substituted the previous screenshot as this one has better visual presentation of the problem. Also Breeze style used in order to make it clear the problem exists even with default settings.
Comment 4 Nate Graham 2022-09-27 20:45:01 UTC
I can't reproduce this issue in the Plasma 5.26 beta, can you?
Comment 5 Vladimir Yerilov 2022-09-30 02:45:16 UTC
(In reply to Nate Graham from comment #4)
> I can't reproduce this issue in the Plasma 5.26 beta, can you?

Hi Nate thanks for coming by.
Yes it looks like it's been fixed and looks less blurry now in Plasma 5.26
Comment 6 Nate Graham 2022-10-09 19:06:11 UTC
Awesome!