Bug 457359

Summary: Present windows takes too long to display itself and will close itself immediately when hotcorner is activated more than once
Product: [Plasma] kwin Reporter: Ashcon Mohseninia <ashcon50>
Component: Hotcorners and edgesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: al.neodim, nate, xaver.hugl
Priority: NOR    
Version: 5.25.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ashcon Mohseninia 2022-08-01 05:57:38 UTC
SUMMARY

When using the present windows effect via the mouse hot corner (Mainly on a multi-monitor setup), it can take up to 2-3 seconds for it to actually show itself. This makes the effect appear unresponsive, so naturally you will end up trying to activate the hot corner more than onces. 

Issue with doing that is once you have tapped the corner more than once, and the present windows effect finally does display itself, it will immediately close itself due to the double activation of the hot corner


STEPS TO REPRODUCE (Scenario A)
1. Open 10-20 windows on a multi monitor setup
2. Activate the present windows via the hotcorner
3. Observe a long lag time between hot corner activation and the effect starting

STEPS TO REPRODUCE (Scenario B)
1. Open 10-20 windows on a multi monitor setup
2. Activate the present windows via the hotcorner, then activate the hot corner again whilst the effect still hasn't shown yet
3. Observe after some time, the present windows effect will show, then immediately close itself


OBSERVED RESULT
The long lag time with showing present windows combined with multiple hot corner activation will result in the effect lagging out, then immediately closing itself 


EXPECTED RESULT
Hot corner activation should be disabled once the effect was first called, so erroneous double tapping of it would not trigger the effect to immediately close itself before the effect has actually shown.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.25.3 
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Comment 1 Alex A.D. 2023-05-05 06:29:39 UTC
Yeah, there is a related issue on major regression of the Plasma 5.25. They have replaced old quick Present Windows (PW) mode with a much slower, QML based one. 

Please, support request to restore and keep the old Present Windows Effect:
* Bug 469380
Comment 2 Zamundaaa 2024-06-26 15:49:03 UTC
There's been major performance improvements for the QML effects since this bug was opened, it's very likely not relevant anymore.
If you can still reproduce this in Plasma 6.1, just reopen it.