When opening a graph: 20:17:50.358 QObjectPrivate::setParent_helper QObject 0x559a73321e40 (class: 'QtCharts::QLineSeries', object name: '') may have a loop in its parent-child chain; this is undefined behavior This loop check only exists in debug Qt
Line is this one: series->setParent(areaSeries); // otherwise series isn't deleted by removeAllSeries! in both categoryaggregator and ratiosetaggregator The relevant docs on ownership transfer in QAreaSeries are super confusing :/
Is that Qt 5.14? Aleix also reported issues with the charts there I think, I am not seeing that with 5.13 though.
It is
Git commit 140c8ce688dfdf73ad485a2bb5559d45bbe08f3b by Volker Krause. Committed on 16/02/2020 at 09:24. Pushed by vkrause into branch 'master'. Fix area charts with Qt 5.14 Summary: Related: bug 416061 Reviewers: apol, davidedmundson Reviewed By: apol, davidedmundson Differential Revision: https://phabricator.kde.org/D27414 M +3 -1 src/console/analytics/categoryaggregator.cpp M +3 -1 src/console/analytics/ratiosetaggregator.cpp https://commits.kde.org/kuserfeedback/140c8ce688dfdf73ad485a2bb5559d45bbe08f3b