Bug 437004 - Slow task list update upon desktop switch
Summary: Slow task list update upon desktop switch
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 00:07 UTC by Eugene Shalygin
Modified: 2021-06-14 18:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2021-05-13 00:07:11 UTC
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
Comment 1 Podagric 2021-06-14 18:50:00 UTC
Already fixed in plasma 5.22
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/479