Bug 356036

Summary: Delay in displaying icons when switching desktops [regression][cosmetic]
Product: [Plasma] plasmashell Reporter: kdebuac.rhn
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: minor CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.4.3   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kdebuac.rhn 2015-11-28 18:18:49 UTC
Regression compared to KDE4.
When Task Manager or Icon-only Task Manager is configured to only show windows from current desktop, there is a delay between updating the window list and updating icons in the window list items.
Similar delay visible when switching activities, but is made less significant by the general slowness of that action...

This happens even when application is forwarded via SSH (icon not on HD).

Reproducible: Always

Steps to Reproduce:
1. Set up task manager
2. Set up multiple desktops
3. Restrict task manager to display only current desktop windows
4. Open application on another desktop
5. Switch to the other desktop

Actual Results:  
There's a delay between list update and icons being shown

Expected Results:  
Icons are shown at the same time as the rest of the window list
Comment 1 Eike Hein 2015-11-30 02:16:28 UTC
This happens because the delegates are reinstanciated and IconItem is too slow and blanks for a frame or two - QIconItem is fast enough so it begs the question of whether we can IconItem up there, alternatively I'll try to avoid delegate reinstanciations in the libtaskmanager rewrite however.
Comment 2 kdebuac.rhn 2015-11-30 07:28:50 UTC
Maybe related - similar delay sometimes affects the "this window is in focus" highlight when alt-tabbing.
Comment 3 Eike Hein 2016-03-07 12:35:01 UTC
This got fixed in IconItem a few weeks ago.