Bug 503439 - plasma-systemmonitor log spam dozens per second TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Summary: plasma-systemmonitor log spam dozens per second TreeViewDelegate.qml:139:13: ...
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.3.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-27 18:41 UTC by andy
Modified: 2025-05-22 15:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2025-04-27 18:41:31 UTC
SUMMARY
My logs are absolutely hammered with lines of qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString

STEPS TO REPRODUCE
1. Leave system monitor open
2. Review logs

OBSERVED RESULT
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Apr 27 11:35:34 fractal plasma-systemmonitor[1275722]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString



EXPECTED RESULT
no log spam

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  6.12.19-1-lts (64-bit)
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version:  6.8.2

ADDITIONAL INFORMATION
Comment 1 andy 2025-04-27 19:57:39 UTC
grepping the journal for the last 5 hours I have ~500k lines with this, approx 100k per hour or ~30 per sec.

I only see these two lines referenced:

qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString

and

qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
Comment 2 John Kizer 2025-04-28 06:27:58 UTC
Hi - for what it's worth, I can't reproduce this on my Fedora KDE 42 device with Plasma 6.3.4.

What page do you have System Monitor open to when it's doing this - or is it happening with all pages?

Thanks!
Comment 3 andy 2025-04-29 00:44:37 UTC
(In reply to John Kizer from comment #2)
> Hi - for what it's worth, I can't reproduce this on my Fedora KDE 42 device
> with Plasma 6.3.4.
> 
> What page do you have System Monitor open to when it's doing this - or is it
> happening with all pages?
> 
> Thanks!

It's just open on the Overview page.

When I read your comment I double checked, when I open System Monitor and check the journal, I also don't see the log spam. So my suspicion I wanted to test (which seems to be the cause of many bugs) is to leave it on, lock the screen, and turn off my monitors overnight.

When I came back today, sure enough I'm seeing the log spam. 

So my recommendation is to leave it open for a long time, and also try the combo of locking the session and turning off your monitors overnight.
Comment 4 Nate Graham 2025-04-29 13:56:40 UTC
So you only see this issue when you keep the app running for an extended period of time, across sleep, screen locking, monitor reconnection, etc?
Comment 5 Nate Graham 2025-04-29 14:02:24 UTC
Looking at the code in master, the only way I could see this going wrong is if model.display turns null at some point, causing BaseCellDelegate to pass an empty string as the text property to TreeViewDelegate. Then `T.ToolTip.text: controlRoot.model.display` in TreeViewDelegate becomes sad.
Comment 6 Riccardo Robecchi 2025-05-22 08:38:23 UTC
I see this too, and I tend to keep System Monitor open over extended periods of time as well. My logs (viewed through journalctl) contain hundreds of thousands of lines like this:
May 16 10:37:44 Sleipnir plasma-systemmonitor[2643845]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
May 16 10:37:44 Sleipnir plasma-systemmonitor[2643845]: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString

This is with the following setup:
KDE Neon
Plasma 6.3.5
KDE Frameworks 6.14.0
Qt 6.9.0
Comment 7 Nate Graham 2025-05-22 15:34:12 UTC
This has been fixed for Plasma 6.4!