Bug 174434

Summary: Improve outline window resizing
Product: [Plasma] kwin Reporter: John Carlyle-Clarke <john>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: steveo, tuukka.verho
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Video of openbox resize mechanism
Video of compiz resizing mechanism

Description John Carlyle-Clarke 2008-11-06 15:27:36 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Unlisted Binary Package

This is in reference to Bug 68843 and numerous duplicates.  I understand the explanation of this bug, but I'd like to suggest alternative methods of doing this which could be options if desired.

The first is for when compositing is disabled, and is the Openbox method of outline resizing.  The client area of the window being resized is frozen, and if the window is expanded the new area is just filled with gray.  If the window is reduced, the old client area is hidden (but reappears if the window is expanded again).  The rest of the desktop remains active and operational.  This is a better solution IMO to the existing one.

The second is for when compositing is enabled, and is similar to what compiz-fusion does for resizing.  When you grab the window edge, you get a translucent blue rectangle overlaying the existing window.  When you drag the mouse, the rectangle resizes.  When you release the mouse, the window changes to the desired size.  This is a very usable and also visually appealing way of doing a resize without updating windows contents.  During this operation, the contents of the window in question - and the rest of the desktop - remain active as normal.
Comment 1 John Carlyle-Clarke 2008-11-06 15:41:35 UTC
Created attachment 28361 [details]
Video of openbox resize mechanism
Comment 2 John Carlyle-Clarke 2008-11-06 15:47:11 UTC
Created attachment 28362 [details]
Video of compiz resizing mechanism
Comment 3 Martin Flöser 2009-09-06 22:01:30 UTC
*** Bug 182456 has been marked as a duplicate of this bug. ***
Comment 4 Martin Flöser 2010-10-03 11:45:51 UTC
I consider this a simplemented as there is a resize effect which is automatically used in outline mode when compositing is available.