Bug 432081

Summary: /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:460: TypeError: Cannot read property 'length' of undefined
Product: [Plasma] plasmashell Reporter: Aurélien Oudelet (auroud85_fr) <aoudelet>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: minor CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.20.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aurélien Oudelet (auroud85_fr) 2021-01-25 10:01:39 UTC
SUMMARY
Each time a pinned application is launched, you can see in system log:
plasmashell[2430]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:460: TypeError: Cannot read property 'length' of undefined

STEPS TO REPRODUCE
1. Pin an application in icon-only task manager
2. Click to open this pinned application.
3. See in system log such warning:

plasmashell[2430]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:460: TypeError: Cannot read property 'length' of undefined

Repeated 2 times.

This writes unnecessary warning to system log.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Mageia 8
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.10.9-desktop-3.mga8
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 15.6 Gio of RAM
Graphics Processor: GeForce GTX 1660 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-01-26 00:08:13 UTC
Yeah this one has been there for ages.
Comment 2 Nate Graham 2021-01-26 00:08:31 UTC
Yeah th
Comment 3 Nate Graham 2022-04-25 17:31:13 UTC
This is fixed now.