Summary: | window(decoration) border cut off when maximizing | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Yves Glodt <yg> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jfirebaugh |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Yves Glodt
2003-02-16 19:50:16 UTC
Subject: kwin_iii: kdebase/kwin CVS commit by lunakl: Don't try to "remove" resize borders when the window is maximalized and moving of maximalized windows is disabled. This is just causing trouble now, most decorations can't handle it. Moreover it can't work well with size increments. If ever this feature will be enabled again, it needs to be done in styles. CCMAIL: 54730-done@bugs.kde.org M +0 -8 client.cpp 1.344.2.25 --- kdebase/kwin/client.cpp #1.344.2.24:1.344.2.25 @@ -2432,12 +2432,4 @@ void Client::changeMaximize( bool vertic QSize adjSize = adjustedSize(clientArea.size()); QRect r = QRect(clientArea.topLeft(), adjSize); - - // hide right and left border of maximized windows - if ( !options->moveResizeMaximizedWindows && adjSize == clientArea.size()) { - if ( r.left() == 0 ) - r.setLeft( r.left() - windowWrapper()->x() ); - if ( r.right() == workspace()->geometry().right() ) - r.setRight( r.right() + width() - windowWrapper()->geometry().right() ); - } setGeometry( r ); info->setState( NET::Max, NET::Max ); Unfortunately, this is a highly desireable feature from a UI standpoint, and I wish it hadn't been removed. The reason is Fitts's Law. With the window border of a maximized window hidden, any UI elements on the inside border, e.g. scrollbars or tab widgets, are directly on the screen edge and thus have 'infinite' depth, making them easy targets to hit with the mouse. |