Bug 228829

Summary: desktop grid+present windows doesn't handle window resize
Product: [Plasma] kwin Reporter: Michael Kreitzer <mrgrim>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Kreitzer 2010-02-28 00:19:52 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Archlinux Packages

I noticed this while keeping the desktop grid active while watching a VM boot in virtualbox in one desktop while keeping an eye on tvtime in another desktop.

VirtalBox will automatically change its window size as resolution changes are performed by guest system. For example, he 640x480 bios changes to text mode changes to a much higher resolution video mode.

When this happens the combined desktop grid + present windows does not rearrange to accommodate the new window size which ends up in the window changing size overlapping other windows while the effect is in place. This bug might also apply to present windows by itself, but I have not tested this.

The expected behavior is for the present windows effect to re-arrange to accommodate the change in a windows size.
Comment 1 Martin Flöser 2010-02-28 10:12:09 UTC
Makes sense. If you have the time, could you please try with Present Windows, too. My fair guess is, that it won't work ;-) So if we fix it, we fix it in both effects.
Comment 2 Martin Flöser 2010-03-14 17:19:01 UTC
SVN commit 1103206 by graesslin:

Rearrange windows when the gemoetry changes in both pw and dg in pw mode.
BUG: 228829

 M  +25 -0     desktopgrid/desktopgrid.cpp  
 M  +1 -0      desktopgrid/desktopgrid.h  
 M  +10 -0     presentwindows/presentwindows.cpp  
 M  +1 -0      presentwindows/presentwindows.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1103206
Comment 3 Martin Flöser 2010-03-14 17:26:11 UTC
SVN commit 1103210 by graesslin:

Backport rev 1103206:
Rearrange windows when the gemoetry changes in both pw and dg in pw mode.
CCBUG: 228829



 M  +25 -0     desktopgrid/desktopgrid.cpp  
 M  +1 -0      desktopgrid/desktopgrid.h  
 M  +10 -0     presentwindows/presentwindows.cpp  
 M  +1 -0      presentwindows/presentwindows.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1103210