Bug 494428

Summary: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml: Unable to assign [undefined] to $value
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_printer_managerAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: noeerover
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description postix 2024-10-10 12:46:40 UTC
SUMMARY

Open the printer kcm


```
systemsettings: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
systemsettings: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
systemsettings: qrc:/kcm/kcm_colord/main.qml:180:33: Unable to assign [undefined] to Qt::CheckState
systemsettings: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
systemsettings: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
systemsettings: qrc:/kcm/kcm_colord/main.qml:180:33: Unable to assign [undefined] to Qt::CheckState
systemsettings: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:139:13: Unable to assign [undefined] to QString
systemsettings: qrc:/qt/qml/org/kde/desktop/TreeViewDelegate.qml:50:5: Unable to assign [undefined] to QString
systemsettings: qrc:/kcm/kcm_colord/main.qml:180:33: Unable to assign [undefined] to Qt::CheckState
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Mike 2024-10-10 12:58:52 UTC
TreeViewDelegate is not used anywhere in the printers kcm, are you sure you've got a proper install/config?  Or perhaps you're running a really old printers kcm?

I can't reproduce this warning on anything > Plasma 6.0.
Comment 2 postix 2024-10-10 13:02:44 UTC
> TreeViewDelegate is not used anywhere in the printers kcm, are you sure you've got a proper install/config?  Or perhaps you're running a really old printers kcm?

I've been running the Tumbleweed installation since Plasma 5.x and always upgraded with `zypper refresh && zypper dup`.

How can I check the config? I could hardly believe the printer's kcm hasn't got updated, but how to check that too?
Comment 3 postix 2024-10-10 13:04:29 UTC
I've removed to old printers I haven't used in a while and the error is no longer logged.
Comment 4 postix 2024-10-10 13:04:40 UTC
s/to/two