Bug 74057 - Regression: KDE 3.2 session manager no longer able (or willing) to store off-screen geomentry
Summary: Regression: KDE 3.2 session manager no longer able (or willing) to store off-...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 11:22 UTC by Roland Seuhs
Modified: 2004-02-10 12:45 UTC (History)
0 users

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 Roland Seuhs 2004-02-03 11:22:30 UTC
Version:           3.2.0 (using KDE 3.2.0 RC1, SuSE)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB

When you have windows that are partly off-screen, the KDE 3.2 session manager breaks layout by forcing all windows to be fully on-screen (windows overlapping to the right are aligned to the right screen-edge, windows overlapping to the top are aligned to the top screen-edge, if a window is taller than the screen it's also aligned to the top screen-edge), so if you arranged your windows on a virtual desktop the whole layout is messed up after re-login.
Comment 1 Lubos Lunak 2004-02-10 12:45:09 UTC
CVS commit by lunakl: 

Don't force windows to be inside workarea if their geometry comes
from session restoration or if the window is already mapped.
CCMAIL: 74057-done@bugs.kde.org


  M +2 -1      manage.cpp   2.31


--- kdebase/kwin/manage.cpp  #2.30:2.31
@@ -277,5 +277,6 @@ bool Client::manage( Window w, bool isMa
         }
 
-    if (( !isSpecialWindow() || isToolbar()) && isMovable())
+    if( !isMapped && !session // trust position from session or if already mapped
+        && ( !isSpecialWindow() || isToolbar()) && isMovable())
         keepInArea( area );