Bug 400135

Summary: Hot Corners Deactivate on Second Try
Product: [Plasma] kwin Reporter: Andres Betts <anditosan1000>
Component: effects-present-windowsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bugseforuns, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andres Betts 2018-10-22 03:38:21 UTC
SUMMARY

When activating Present Windows Effect using active screen corner, allow second activation to deactivate Present Windows. Current behavior does not allow this.

This could be more intuitive for users to be able to activate and deactivate an affect using a familiar gesture.

It is probably more natural than using the Esc key or selecting a window in case you used this effect by mistake.
Comment 1 Nate Graham 2018-10-22 04:10:43 UTC
+1, I think this makes sense.
Comment 2 Martin Flöser 2018-10-22 19:50:00 UTC
Ehm, That has always been a toggle.
Comment 3 Andres Betts 2018-10-22 20:01:44 UTC
Interesting! It doesn't behave like that for me right now. I am using neon git unstable.
Comment 4 Martin Flöser 2018-10-22 20:06:47 UTC
Just tried, works just fine.

You are aware that there is a short reactivation timeout? Give it some time and move the mouse properly away.
Comment 5 Andres Betts 2018-10-23 03:18:11 UTC
Maybe that is something that can be addressed. What is the logic behind the delay in activation/deactivation?
Comment 6 Martin Flöser 2018-10-23 04:25:33 UTC
(In reply to Andres Betts from comment #5)
> Maybe that is something that can be addressed. What is the logic behind the
> delay in activation/deactivation?

Without, a fast movement wuld make it activate/deactivate several times and it becomes almost impossible to trigger the edge.

Please don't question everything we did. These are things we worked 10 years ago  to make them work well.
Comment 7 Andres Betts 2018-10-23 04:29:13 UTC
Thanks for your answer. I think we should always keep an open mind to think differently. To "not" question decisions made 10 years ago is something I will not do. Is there room to remove that delay?