SUMMARY file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml:56: TypeError: Cannot call method 'showContextMenu' of undefined STEPS TO REPRODUCE 1. Right click on Dolphin in the task manager. 2. Click "X more Places" for at least two times. 3. Watch terminal output. OBSERVED RESULT file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml:56: TypeError: Cannot call method 'showContextMenu' of undefined EXPECTED RESULT No error occurs. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20211012 KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2 Kernel Version: 5.14.6-2-default (64-bit) Graphics Platform: X11 Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics Memory: 15.0 GiB of RAM Graphics Processor: AMD RENOIR
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/602
Git commit 760f305c8587f783b3fb97fc9bffc9263353d170 by Nate Graham, on behalf of Fushan Wen. Committed on 18/10/2021 at 16:11. Pushed by ngraham into branch 'master'. taskmanager: Disconnect from backend.showAllPlaces on destruction The slot function explicitly connected to showAllPlaces should be disconnected manually on destruction. M +9 -3 applets/taskmanager/package/contents/ui/ContextMenu.qml https://invent.kde.org/plasma/plasma-desktop/commit/760f305c8587f783b3fb97fc9bffc9263353d170
Git commit 7caec0de8fe9ca64d015388d957e782c68fc8126 by Nate Graham, on behalf of Fushan Wen. Committed on 18/10/2021 at 16:13. Pushed by ngraham into branch 'Plasma/5.23'. taskmanager: Disconnect from backend.showAllPlaces on destruction The slot function explicitly connected to showAllPlaces should be disconnected manually on destruction. (cherry picked from commit 760f305c8587f783b3fb97fc9bffc9263353d170) M +9 -3 applets/taskmanager/package/contents/ui/ContextMenu.qml https://invent.kde.org/plasma/plasma-desktop/commit/7caec0de8fe9ca64d015388d957e782c68fc8126