Bug 500227

Summary: Interacting with the task manager spams the journal with TypeError Cannot read property status of null
Product: [Plasma] plasmashell Reporter: hbr <nepnep>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: cwo.kde, elles.robert, qydwhotmail
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.3.1
Sentry Crash Report:
Attachments: Task manager settings 01
Task manager settings 02

Description hbr 2025-02-17 08:38:46 UTC
Created attachment 178460 [details]
Task manager settings 01

SUMMARY
Interacting with the task manager spams the journal with the following error message:

plasmashell[1257]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:79: TypeError: Cannot read property 'status' of null

STEPS TO REPRODUCE
1. Interact with the task manager
2. Check the journal

OBSERVED RESULT
The above error message appears in the journal multiple times.

EXPECTED RESULT
No error happens / error message gets logged.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30,9 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: ASRock
Product Name: X670E Steel Legend
Comment 1 hbr 2025-02-17 08:42:55 UTC
Created attachment 178461 [details]
Task manager settings 02
Comment 2 cwo 2025-02-17 09:02:40 UTC
We fixed this in https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2795 a while ago; I'm a bit surprised it wasn't included in the 6.3.0 release but I guess there must have been a timing issue and the cherry pick came too late. In any case, the fix is in the 6.3 branch ()https://invent.kde.org/plasma/plasma-desktop/-/blob/Plasma/6.3/applets/taskmanager/package/contents/ui/Task.qml?ref_type=heads#L79 and should definitely be in 6.3.1, out tomorrow, so please reopen if it still happens then.
Comment 3 cwo 2025-02-22 00:47:43 UTC
*** Bug 500508 has been marked as a duplicate of this bug. ***