The longer the session is ran, the slower the tasks applet becomes updating itself after desktop switch. The update time grows with the number of open apps too. After a day or so, it takes ~3 seconds for it to update after switching to a desktop with 6 top windows. Restarting plasmashell does not help. Log off/log in makes switching quick again. STEPS TO REPRODUCE 1. Work for 20 or more hours in a Plasma session. 2. Enable option to show tasks only from the current desktop. 3. Open > 5 apps on the same desktop. 4. Switch to another desktop. 5. Switch back to the previous desktop. OBSERVED RESULT The task applet does not update for a few seconds. EXPECTED RESULT The applet updates immediately. Operating System: Gentoo KDE Plasma Version: 5.21.80 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Kernel Version: 5.12.2-gentoo (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 31.3 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Already fixed in plasma 5.22 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/479