Bug 182069 - Resize windows based on drag location
Summary: Resize windows based on drag location
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 10:06 UTC by Dotan Cohen
Modified: 2010-03-16 21:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2009-01-27 10:06:54 UTC
Version:            (using Devel)
Installed from:    Compiled sources

It would be nice if KDE would resize and position windows based upon predictable user drag actions. I propose that when a window be dragged to these locations, the following actions happen:
1) Top of screen: Window gets maximized
2) Bottom of screen: Window gets minimized
3) Right side of screen: Window is maximized vertically, and takes up the right half of the screen
4) Left side of screen: Window is maximized vertically, and takes up the left half of the screen

Visual clue could indicate what is about to happen.
Comment 1 Ivan Čukić 2009-01-27 10:20:53 UTC
Changed the product to KWin.
Comment 2 Dotan Cohen 2009-01-27 13:28:57 UTC
Thanks. I thought that kwin only applied to KDE 3.x.
Comment 3 Dotan Cohen 2009-02-01 14:10:10 UTC
Apparently Windows 7 will have something similar to this:
http://en.wikipedia.org/wiki/Features_originating_in_Windows_7#Window_management_mouse_gestures
Comment 4 XData 2009-05-02 20:53:34 UTC
I agree with this wish.
Is it possible to implement in KDE the same bahavior that in Windows Seven AeroSnap ?

That are the functionality of AeroSnap:
When we move a windows the the left side of the screen, the windows is 	
resized to occupy the half left side of the screen. Same thing for the right.

And when we move a windows to the top of the screen, it is maximized.

For this three action, if you move again the windows, it is restored in the same place and position
that before moving.

Two videos that explain this behaviour:
http://www.youtube.com/watch?v=TbsnbjkrWus
http://www.youtube.com/watch?v=sS7a0xDwvlM

I think it is very useful, especially the action with the left/right side of the screen.

Thanks.
Comment 5 Stephan Sokolow 2009-05-03 06:28:24 UTC
Definitely very useful and only becoming more so as widescreen monitors become more popular. (There's a reason books have aspect ratio they do. It becomes difficult for the eye to keep track of which line to jump to next when page width gets excessive.)
Comment 6 Dotan Cohen 2010-03-16 21:47:28 UTC
Implemented in KDE 4.4. Thanks!