Bug 427249 - No graph and axis drawn; TypeError 'x' undefined and bindingloop contentHeight
Summary: No graph and axis drawn; TypeError 'x' undefined and bindingloop contentHeight
Status: RESOLVED NOT A BUG
Alias: None
Product: kinfocenter
Classification: Applications
Component: Energy Information (other bugs)
Version First Reported In: 5.19.5
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-02 14:18 UTC by postix
Modified: 2021-06-16 18:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot (91.74 KB, image/png)
2020-10-02 14:18 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
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.