Bug 474892

Summary: High CPU utilization of kglobalaccel and Xorg-server when switching between virtual desktops
Product: [Plasma] kwin Reporter: Matthias Apitz <guru>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: major CC: guru
Priority: NOR    
Version: 5.27.8   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthias Apitz 2023-09-26 09:28:29 UTC
SUMMARY
High CPU utilisation of kglobalaccel and Xorg-server when switching between virtual desktops with Ctrl+Tab or Ctrl+F1,
Xorg to ~60%, kglobalaccel to ~20%.


STEPS TO REPRODUCE
1. remove ~/.config and ~/.cache so that plasma creates fresh desktop on next startx
2. configure only: 4 virtual desktops and shortcuts for switching Ctrl+Tab and Ctrl+Fn
3. switch between the virtual desktops some time once per second

OBSERVED RESULT
CPU utilization in top as described, switching stops working or is delayed and afterwards replayed like a movie;


EXPECTED RESULT
Smoothly switch while cycling through the desktops. 


SOFTWARE/OS VERSIONS
FreeBSD 14-CURRENT (from git August 6, 2023)
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 

ADDITIONAL INFORMATION