Version: unknown (using KDE 3.5.6, Gentoo)
Compiler: gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
OS: Linux (i686) release 2.6.19-gentoo-r4
This bug happens when using the DynamicTwinView option of NVidia cards that allows plugging/unplugging monitors without restarting X.
When I start KDE with only one screen and after that plug another monitor and use NVidia Settings to activate it (using TwinView and Xinerama), KWin is aware about the new size of the desktop but not that two monitors are connected (it considers it is a single desktop of the size of the two monitors). Thus when maximizing a window it is displayed accross the two monitors. Restarting KDE (not X) resolves the thing. Restarting KWin itself fixes also the problem.
SVN commit 786319 by lunakl:
Don't disable xinerama options if xinerama is not available, this may
change with xrandr1.2 and in the worst case those options simply
will degenerate to the trivial one-screen case.
M +7 -17 options.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=786319
*** Bug 133644 has been marked as a duplicate of this bug. ***