Bug 387814

Summary: KWin does not focus windows when they are moved with alt-mouse
Product: [Plasma] kwin Reporter: Chris Spiegel <cspiegel>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: northivanastan
Priority: NOR    
Version: 5.11.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Spiegel 2017-12-12 00:46:39 UTC
To reproduce, have two windows open.  Focus one of the windows.  Move the mouse over the other window, and move that window by holding alt and dragging with the mouse.

My expectation is that the window will be focused, but it is not.  I'm using focus follows mouse with a delayed raise, so I find it confusing that even though my mouse is over the window for an extended period of time, the window is not raised.

This also happens with click to focus.  I suppose it can be interpreted that the click is not making it through to the window so it shouldn't be raised in that case, but it feels to me that the window is being interacted with, and ought to receive focus at that point.  As a supporting point, clicking on the titlebar to move *does* raise the window, so the current behavior seems to special-case the alt-pointer method of moving windows.
Comment 1 Ivan S 2017-12-12 01:23:39 UTC
Seems to me that the whole purpose of alt-click is to move a window w/o focusing it.
Recommend change to resolved-invalid.
Comment 2 Martin Flöser 2017-12-12 05:17:22 UTC
It's exactly like Ivan says.