Bug 427249

Summary: No graph and axis drawn; TypeError 'x' undefined and bindingloop contentHeight
Product: [Applications] kinfocenter Reporter: postix <postix>
Component: Energy InformationAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED NOT A BUG    
Severity: normal CC: plasma-bugs-null, postix
Priority: NOR    
Version First Reported In: 5.19.5   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description postix 2020-10-02 14:18:58 UTC
Created attachment 132070 [details]
Screenshot

SUMMARY

For last hour and last 12 hours it says "No data available".
For last week it shows the graph.

For all other it draws the background of field where the graph should be, but it shows neither a graph nor axis labels. Please see the screenshot.

The terminal output says:

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/templates/private/ScrollView.qml:114:9: QML Flickable: Binding loop detected for property "contentHeight"
file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:130: TypeError: Cannot read property 'x' of undefined




SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.8.11-1-MANJARO
Scaling: 2.0
Comment 1 postix 2020-10-02 14:20:15 UTC
For power consumption it shows the correct message "No data available" on the terminal output is only:

file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:68: TypeError: Cannot read property 'x' of undefined
Comment 2 postix 2021-06-16 18:15:31 UTC
Can no longer reproduce it anymore.