Bug 447843

Summary: Plasmoid logspam: TypeError: Cannot read property 'devices' of undefined
Product: [Unmaintained] Bluedevil Reporter: hexchain <kde>
Component: system trayAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: minor CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hexchain 2022-01-02 16:21:02 UTC
SUMMARY
The bluedevil plasmoid produces a lot of logspam whenever something involving bluetooth is happening, even without interaction with the plasmoid itself:

> plasmashell[2034]: file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js:22: TypeError: Cannot read property 'devices' of undefined

STEPS TO REPRODUCE
1. Ensure that the Bluedevil plasmoid is enabled
2. Start `bluetoothctl' and do something (e.g. `scan on', adding or removing devices)

OBSERVED RESULT
Many log lines, identical to the one shown in summary, are recorded in the system journal.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.10-zen1-1-zen (64-bit)
Graphics Platform: X11
Comment 1 hexchain 2022-01-11 11:33:40 UTC
It seems that this is no longer happening with Plasma 5.23.5 and KF 5.90.0.