Summary: | [Wayland] Frequent changing of Window Icon freezes Plasmashell if TaskManager is present on a panel | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | thederpyworld |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | aspotashev, nate, qydwhotmail, vlad.zahorodnii, xaver.hugl |
Priority: | NOR | Keywords: | efficiency-and-performance, wayland-only |
Version First Reported In: | 6.1.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/cd563dff3a5f5b61de0d3142768c47707f8d8e55 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
gdb backtrace of plasmashell after it had frozen
SDL example that causes the task manager to freeze |
Description
thederpyworld
2024-05-22 21:28:57 UTC
Created attachment 170855 [details]
SDL example that causes the task manager to freeze
Compiled with:
g++ `sdl2-config --libs` -g freeze-taskmanager.cpp -o freeze-taskmanager
After running it, a black window should appear which can be closed by either closing the window, pressing Q or ESC.
Note that as the maintainer of kwin said it's unlikely to add a similar timer in kwin, the bug will not be fixed on Wayland. Git commit b36d9b27798b406378ef5d7a6b9b740f3f9013e3 by Fushan Wen. Committed on 26/06/2024 at 17:04. Pushed by fusionfuture into branch 'master'. libtaskmanager: improve efficiency when window icon frequently changes Don't wipe the whole appData cache entry when only the icon changes because constructing the cache requires querying all applications on the local disk. Add NET::WMIcon to cachable properties as it's usually expensive to update icons. FIXED-IN: 6.1.2 M +3 -2 libtaskmanager/autotests/xwindowtasksmodeltest.cpp M +1 -1 libtaskmanager/xwindowsystemeventbatcher.cpp M +5 -2 libtaskmanager/xwindowtasksmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/b36d9b27798b406378ef5d7a6b9b740f3f9013e3 Git commit cd563dff3a5f5b61de0d3142768c47707f8d8e55 by Fushan Wen. Committed on 26/06/2024 at 17:24. Pushed by fusionfuture into branch 'Plasma/6.1'. libtaskmanager: improve efficiency when window icon frequently changes Don't wipe the whole appData cache entry when only the icon changes because constructing the cache requires querying all applications on the local disk. Add NET::WMIcon to cachable properties as it's usually expensive to update icons. FIXED-IN: 6.1.2 (cherry picked from commit b36d9b27798b406378ef5d7a6b9b740f3f9013e3) Co-authored-by: Fushan Wen <qydwhotmail@gmail.com> M +3 -2 libtaskmanager/autotests/xwindowtasksmodeltest.cpp M +1 -1 libtaskmanager/xwindowsystemeventbatcher.cpp M +5 -2 libtaskmanager/xwindowtasksmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/cd563dff3a5f5b61de0d3142768c47707f8d8e55 |