SUMMARY The Plasma panel crashes when hovering over Task Manager entries with tooltips enabled. STEPS TO REPRODUCE 1. Create a panel with Task Manager 2. Hover the cursor over a Task Manager entry OBSERVED RESULT On Hover the Task Manager entry changes color as expected, then freezes in this state and then crashes the entire panel. EXPECTED RESULT Hovering over an entry should not crash the panel and display the tooltip if enabled. SOFTWARE/OS VERSIONS OS: Gentoo Linux Kernel: 5.19.8-xanmod1-x86_64 KDE Plasma Version: 5.25.90 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.5 Graphics Platform: Wayland ADDITIONAL INFORMATION Disabling tooltips makes hovering over entries work as expected which makes me believe there's something going wrong in the tooltip/thumbnail generation.
I am not able to reproduce it on Classic Task Manager style. I am guessing you are using Icons-Only task manager?
For me the issue actually occurs with both task manager styles and as previously said disabling tooltips makes them work again. Though if you say there's no issue for you it might just be a problem with how I compiled plasmashell on my system. I'll try to look further into it.
Created attachment 152164 [details] Backtrace with GDB I compiled most of the related packages with debug symbols and created a backtrace which lead me to the file `libtaskmanager/declarative/screencastingrequest.cpp` from `plasma-workspace`. Something seems to be broken for me in the `ScreencastingRequest::setUuid` function, specifically the `d->m_stream->deleteLater();` bit. Surprisingly everything seems work again after I just remove either that entire line. I don't really know if that is a safe thing to do though.
*** Bug 459304 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2138
Hi Jonas, could you test the aforementioned patch to see if the crash is fixed?
Yes, this fixes it! Thank you!
Git commit 8173aff447c6674d952f797314701cab0f54446d by Fushan Wen. Committed on 18/09/2022 at 11:21. Pushed by fusionfuture into branch 'master'. libtaskmanager: assign stream and check null pointer FIXED-IN: 5.26 M +5 -1 libtaskmanager/declarative/screencastingrequest.cpp https://invent.kde.org/plasma/plasma-workspace/commit/8173aff447c6674d952f797314701cab0f54446d
Git commit 01a5e56d3f5b09af86ad3af6fe6d3267096776c2 by Fushan Wen. Committed on 18/09/2022 at 14:47. Pushed by fusionfuture into branch 'Plasma/5.26'. libtaskmanager: assign stream and check null pointer FIXED-IN: 5.26 (cherry picked from commit 8173aff447c6674d952f797314701cab0f54446d) M +5 -1 libtaskmanager/declarative/screencastingrequest.cpp https://invent.kde.org/plasma/plasma-workspace/commit/01a5e56d3f5b09af86ad3af6fe6d3267096776c2
*** Bug 459559 has been marked as a duplicate of this bug. ***