Bug 445132

Summary: Task switcher has a lag on first activation
Product: [Plasma] kwin Reporter: Podagric <kde.podagric>
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenrecorder

Description Podagric 2021-11-07 18:08:29 UTC
Created attachment 143322 [details]
screenrecorder

SUMMARY
The alternator is not displayed instantly, as it does after the first time and as in previous versions of the plasma, but only after a delay.

STEPS TO REPRODUCE
1. Restart the computer
2. Open multiple windows
3. Access the window switcher (alt+tab)

It is also possible to reproduce this bug after switching between the types of views available, just as I showed in the video.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Graphics Platform: X11


ADDITIONAL INFORMATION
Maybe the video doesn't give a real experience of the bug, but you can see that there is a small moment where the recording video pauses when the task switcher is triggered
Comment 1 Nate Graham 2021-11-09 03:54:13 UTC
Hmm, I've never seen this myself, and I admit I can't notice it in your screen recording, either.
Comment 2 Podagric 2021-11-09 16:25:12 UTC
the first time I press alt+tab, the video pauses for a short while. but I agree that it's not clear on the recording.
If you look at the place where the pressed keys are displayed, you will see that the fade in and fade out effect is interrupted during the lag of loading the task switcher (most noticeable at 00:04 and 00:23). Playing the video at a slower speed makes this very clear.
Comment 3 Patrick Silva 2021-11-10 11:20:52 UTC
I can reproduce on neon unstable when by triggering Large Icons task switcher for the first time after login.
The lag is greater on Wayland.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 4 Patrick Silva 2021-11-10 11:38:34 UTC
Possibly related: also there is a lag when I switch virtual desktop for the first time after login by clicking on Pager widget placed on Plasma panel.
Comment 5 Vlad Zahorodnii 2021-11-10 11:46:00 UTC
Confirmed, it's caused by translated strings in builtin effect metadata objects. 

* https://invent.kde.org/plasma/kwin/-/merge_requests/1580
Comment 6 Vlad Zahorodnii 2021-11-24 10:52:26 UTC
Should be fixed now.