Bug 388969

Summary: Active Screen Corners and Edges - toggle checkbox and schortcut
Product: [Plasma] kwin Reporter: Richard Llom <richard.llom>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Richard Llom 2018-01-14 17:11:47 UTC
I'm playing an RTS right now, where one is scrolling on the screen by moving the mouse to the screen edges (and corners). Unfortunately this triggers my screen corner actions ...

Currently there is no way (in the GUI at least) to (temporally) disable all screen corner actions, so I had to remove all of my set actions. :-(

Therefore I propose:
a) a toggle checkbox in the "Active Screen Corners and Edges" system setting to disable/enable action.
b) a global shortcut to toggle edge actions.

Thanks.
Comment 1 Martin Flöser 2018-01-14 19:35:13 UTC
A game normally locks the mouse and only operates with relative positions. If your game would do that, this would be a none issue.

In general we do not expose options to workaround incorrect behavior of other applications.
Comment 2 Richard Llom 2018-01-15 18:28:56 UTC
> A game normally locks the mouse and only operates with relative positions.
No.

RTS stands for real time strategy and in RTSs your mouse insn't locked. Instead you use it to select things (units) on the screen or to move the screen.
https://en.wikipedia.org/wiki/Real-time_strategy#Gameplay
"Players mainly scroll the screen and issue commands with the mouse, and may also use keyboard shortcuts."

See here for instance at the 4:50 mark
http://www.youtube.com/watch?v=_o-_y1dZgxQ
Comment 3 Martin Flöser 2018-01-15 20:42:35 UTC
Please leave the state of the wish. Reopening won't change anything.

Fact is: any X application has the possibility to ensure that it gets all mouse events, be it through locking (as I mentioned in comment #1) or through grabbing. If it does that the screen edges won't activate.

If the game play requires mouse interaction in each part of the window it needs to ensure it. We are not going to add further config options or global shortcuts to workaround application shortcomings.