Bug 228829 - desktop grid+present windows doesn't handle window resize
Summary: desktop grid+present windows doesn't handle window resize
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-28 00:19 UTC by Michael Kreitzer
Modified: 2010-03-14 17:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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