Bug 244767

Summary: kwin: dragging top edge of window (sideways?) should move window
Product: [Plasma] kwin Reporter: missive
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: mak.mak.anastasia
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description missive 2010-07-15 16:59:26 UTC
Version:           unspecified (using KDE 4.4.2) 
OS:                Linux

Being able to move a maximized window is great. Makes kwin much easier to use. I'd like to make note of another feature that I think would also help:

Most of my windows are positioned against the top edge of the screen (mostly, I have them maximized vertically)

When I want to move a window, the top edge is a huge target, so the easiest move is to slam the pointer to the edge to try to grab the window and move it. Unfortunately, the top edge is a resize target (something I very rarely want to do).

Not sure how feasible this is, but here is my suggestion: if the top edge is dragged sideways, the window should move instead of resizing.

Come to think of it, it might even be useful on other edges -- moving a certain distance parallel to the edge grabbed would move the window instead of resizing. Might be confusing for new users though. The default distance would have to be set pretty high.

Or there could be an advanced setting to choose which edges are resize targets.


Reproducible: Always

Steps to Reproduce:
Move window to top edge of screen
Move mouse over window to top edge of screen
Grab window by top edge.
Try to move window (sideways especially).

Actual Results:  
If moving sideways, apparently nothing happens.
If moving vertically, window resizes.

Expected Results:  
window moves.

OS: Linux (i686) release 2.6.32-23-generic
Compiler: cc
Comment 1 Martin Flöser 2012-03-14 15:58:38 UTC
moving along a screen edge is in fact a very difficult task. It is very easy to hit the screen edge, but not to move horizontally. I think this would be a hard to use feature and do not see much advantage over just moving the window. It snaps back to the screen edge while moving.