Bug 484134

Summary: Quick Alt+Tabbing has a big delay when the QML tab switcher visualisation is enabled
Product: [Applications] systemsettings Reporter: Szőts Ákos <szotsaki>
Component: kcm_kwintabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: duha.bugs, fanzhuyifan, plasma-bugs
Priority: NOR    
Version: 6.0.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Szőts Ákos 2024-03-21 07:42:06 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Previously, in KDE 5, when I pressed Alt+Tab+Tab very quickly (and released it), then I have the second window in front of me, effectively immediately.

Now, in KDE 6, after the same sequence, I have a ~700 ms delay before the window is shown and after that the tab box visualisation is even flashed for some ms (basically, just its borders are drawn, its content I can't see because it disappears very quickly).

Simple Alt+Tab is also very slow and suffers from the same.

If I turn off the tab box visualisation in system settings, this delay is gone.

This is the default tab switcher which comes with KDE 6 (first item in the list; I have it in another language).

EXPECTED RESULT

Either the tab switcher is displayed immediately and introduces no delay or not displayed at all and, again, introducing no delay.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240318
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-1-default (64-bit)
Graphics Platform: X11
Graphics Processor: NVIDIA GeForce RTX
System Version: 1.0

ADDITIONAL INFORMATION
Comment 1 duha.bugs 2024-03-21 15:19:26 UTC
Sounds like https://bugs.kde.org/show_bug.cgi?id=479250

Are you using the Thumbnail Grid task switcher?
Comment 2 fanzhuyifan 2024-03-21 16:58:00 UTC
Waiting for info
Comment 3 Szőts Ákos 2024-03-22 07:16:19 UTC
It is indeed the same bug; thanks for the hint.

*** This bug has been marked as a duplicate of bug 479250 ***