With current trunk kwin doesn't move windows that were on the second of two screen's when that screen is deactivated. Say I have a terminal on screen VGA and everything else on screen DVI. Turning off VGA via xrandr --output VGA --off should move the terminal from that screen to DVI. That doesn't happen. IIRC this worked fine a week or two ago, so it seem to be a recent regression. Using XRandR 1.2 here with open source intel driver.
*** Bug 189277 has been marked as a duplicate of this bug. ***
*** Bug 231519 has been marked as a duplicate of this bug. ***
*** Bug 231821 has been marked as a duplicate of this bug. ***
*** Bug 190297 has been marked as a duplicate of this bug. ***
*** Bug 241754 has been marked as a duplicate of this bug. ***
What is actually happening is that when a screen is removed, some geometry got lost, for example, if you have: HDMI: 1680x1050 + LVDS: 1280x800 your geometry is something like: TOTAL: 2960x1050 If a window is in, for example x=2000 when a screen is removed the point 2000 no longer exists, and the window is leaved nowhere.
I also observe the following behavior after removing a screen (however only sometimes): Newly started apps (e.g., Thunderbird or Firefox) are not displayed on the current (the only) screen, but are placed outside of the current screen - possible on the removed screen (the app window is also sized to fit on the old screen). I have to use the task bar and "move" the window onto the actual desktop area.
> I also observe the following behavior after removing a screen (however > only sometimes): Newly started apps (e.g., Thunderbird or Firefox) Mentioning Firefox and Thunderbird and not mentioning other apps, rings all alarm bells here. Can you confirm that this also happens for KDE apps (e.g. Dolphin) or other GTK apps (e.g. GIMP) or better said with any application that is not from Mozilla?
I dind't experience the problem described by Marcel in Comment #7, but the issue described in bug report concerns all windows including KDE apps.
Yes, per my bug #231821, this affects KDE apps such as KCalc too.
When I wrote my post I actually was not sure whether it just affected Mozilla or GTK apps. But I can now confirm that KDE apps are affected as well (in my case korganizer).
I've just installed KDE 4.5.1 and its support for dual head is even worse. Actually it makes KDE unusable for me so i'm downgrading to 4.4. My configuration is: VGA (external): 2048x1152 with left top corner coordinates (0,0) LVDS (laptop internal): 1440x900 with left top corner coordinates (2048,0) So this mean that external screens is on the left of the laptop. I have different wallpapers and different plasma widgets on each screen. When I disconnect the external screen and turn it off with xrandr, the wallpaper and widgets from external screen goes to the laptop screen. Since the screens resolution of external screen was much higher the widgets doesn't fit the laptop screen and it looks a bit messy. In KDE 4.3 it works better: after disconnection external screen, the laptop screen content is not changed. The only workaround i can imagine is to put the external screen on the right side of the laptop, but it's not possible in my case.
this is likely not directly related but defers from the attempt to resettle kephal to QDesktopWidget. To prevent any actiona and maybe get back the 4.3 behaviour, try to disable the "Display manager change monitor" daemon in "kcmshell4 kded"
*** Bug 267339 has been marked as a duplicate of this bug. ***
*** Bug 265989 has been marked as a duplicate of this bug. ***
still having this behaviour in kde4.6.2 on kubuntu 11.04
this bug should be fixed.now, maybe not in the most beatiful way but it is fixed