Plasma does not remember which screen a Panel is connected to when using kscreen. This is a new problem, it wasn't happening before kscreen. Either way, Dan says it's a Plasma bug. Whenever you disconnect a monitor, the panel(s) that existed in that monitor are moved to the remaining screen(s). Often, that means they end up on top of or under another panel, which means you can't reach one without moving the other. Reproducible: Always Steps to Reproduce: 1. Ensure kscreen's kded module is running 2. Connect a second monitor (kscreen will extend the screen there) Note: I have a secondary screen to the left of the primary. I don't know if this makes a difference. 3. Add a panel to the secondary screen 4. Disconnect second monitor kscreen will reduce the desktop to one screen Actual Results: The panel that was added to the second screen is now on the first screen Expected Results: The panel that was on the second screen should have disappeared and stayed hidden. Additionally: 5. Reconnect the second monitor (kscreen will extend the desktop there) Actual results: Panels remain where they were. Nothing is moved to the second screen. Expected results: Panel that was originally on the second screen should reappear.
Created attachment 81487 [details] plasma-desktoprc
Created attachment 81488 [details] plasma-desktop-appletsrc with both monitors connected
Created attachment 81489 [details] plasma-desktop-appletsrc after the second monitor was disconnected
plasma-desktoprc diff (old = two monitors; new = one monitor) --- /tmp/plasma-desktoprc 2013-07-31 10:05:38.864483547 -0700 +++ plasma-desktoprc 2013-07-31 10:06:58.394972755 -0700 @@ -583,14 +583,14 @@ size=910,512 [PlasmaViews][64] -Migrations= +Migrations=0 panelVisibility=0 [PlasmaViews][64][Horizontal1920] offset=0 [PlasmaViews][64][Sizes] -lastsize=1920 +lastsize=1366 [PlasmaViews][64][Sizes][Horizontal1366] max=1366,27 @@ -736,7 +736,6 @@ [ViewIds] 3=1 55=3 -60=66 87=64
plasma-desktop-appletsrc diff (old = two monitors, new = one monitor) --- /tmp/plasma-desktop-appletsrc 2013-07-31 10:05:38.864483547 -0700 +++ plasma-desktop-appletsrc 2013-07-31 10:06:58.387973063 -0700 @@ -565,20 +565,20 @@ activityId= desktop=-1 formfactor=2 -geometry=0,-93,1920,27 +geometry=0,-93,1366,27 immutability=1 lastDesktop=-1 -lastScreen=1 +lastScreen=0 location=4 plugin=panel -screen=1 +screen=0 zvalue=0 [Containments][87][ActionPlugins] RightButton;NoModifier=contextmenu [Containments][87][Applets][89] -geometry=0,2,1896,25 +geometry=0,2,1342,25 immutability=1 plugin=tasks zvalue=0 @@ -600,8 +600,8 @@ Order=0 [Containments][87][Configuration] -maximumSize=1920,27 -minimumSize=1920,27 +maximumSize=1366,27 +minimumSize=1366,27 [General] immutability=1
I managed to reproduce the problem. Curiously, it can't be reproduced when primary monitor is the left one and the right one is disabled, but it can be reliably reproduced with Thiago's setup (primary being right of secondary).
(In reply to comment #6) > I managed to reproduce the problem. Curiously, it can't be reproduced when > primary monitor is the left one and the right one is disabled, but it can be > reliably reproduced with Thiago's setup (primary being right of secondary). Well, I have my secondary screen to the right of my primary, and I can reproduce it just fine. However, it happens to me only in the following cases: 1) Disabling the second screen through the KCM (not just removing the cable), or 2) Shutting down with two screens connected, then booting without the second screen (with session store enabled). I'm guessing these are just the same situation; the result is that any windows or panels that were on the secondary screen are moved back to the primary. This seems like the sane thing to do for windows, but I would like any panels/widgets to be tied to the secondary screen only.
Confirmed here on openSUSE Tumbleweed.
Duping to 356225, which has more attention and is in a Plasma 5 product. *** This bug has been marked as a duplicate of bug 356225 ***