Bug 353426 - plasma disappears when using multiple monitors
Summary: plasma disappears when using multiple monitors
Status: RESOLVED DUPLICATE of bug 356727
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-01 22:12 UTC by illumilore
Modified: 2016-04-01 07:11 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description illumilore 2015-10-01 22:12:20 UTC
the plasma bar at the bottom of the screen disappears when disconnecting a 2nd monitor from the laptop and there is no way to get it back.

Reproducible: Always
Comment 1 Arthur Schiwon 2015-11-04 09:53:40 UTC
Has happened to me (yesterday) once before upgrading to 5.4 as well, afterwards (today) not yet.

Monitor connected via VGA. Intel graphics.
Comment 2 David Edmundson 2015-11-05 19:12:33 UTC
could you please include your ~/.config/plasmashellrc file

and output of xrandr -q both before and after disconnect the monitor
Comment 3 illumilore 2015-11-06 20:51:30 UTC
$ cat ~/.config/plasmashellrc 
[Notification Messages]
ConfirmTrash=true


$ xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 164mm
   1366x768      60.02*+
   1280x720      59.86  
   1152x768      59.78  
   1024x768      59.92  
   800x600       59.86  
   848x480       59.66  
   720x480       59.71  
   640x480       59.38  
HDMI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)



during:
$ xrandr -q
Screen 0: minimum 320 x 200, current 2646 x 800, maximum 8192 x 8192
LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 164mm
   1366x768      60.02*+
   1280x720      59.86  
   1152x768      59.78  
   1024x768      59.92  
   800x600       59.86  
   848x480       59.66  
   720x480       59.71  
   640x480       59.38  
HDMI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1280x800+1366+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x800      59.81*+
   1600x1200     60.00  
   1680x1050     59.95  
   1400x1050     74.87  
   1600x900      60.00  
   1280x1024     75.02  
   1440x900      84.84  
   1280x960      85.00  
   1366x768      59.79  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      85.00    75.08    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    60.00  
   720x400       87.85    70.08  


after disconnect:
$ xrandr -q
Screen 0: minimum 320 x 200, current 1381 x 772, maximum 8192 x 8192
LVDS connected 1366x768+15+4 (normal left inverted right x axis y axis) 293mm x 164mm
   1366x768      60.02*+
   1280x720      59.86  
   1152x768      59.78  
   1024x768      59.92  
   800x600       59.86  
   848x480       59.66  
   720x480       59.71  
   640x480       59.38  
HDMI-0 disconnected primary 1366x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
VGA-0 disconnected (normal left inverted right x axis y axis)
  1366x768 (0x323) 85.500MHz
        h: width  1366 start 1436 end 1579 total 1792 skew    0 clock  47.71KHz
        v: height  768 start  771 end  774 total  798           clock  59.79Hz
Comment 4 illumilore 2015-11-06 20:59:55 UTC
this time after disconnecting, the plasma taskbar eventually came back, after about a minute of waiting, but kwin apparently broke and I couldn't select any of the windows from the taskbar and switching desktops stopped working (clicking the pager thing in the taskbar showed the highlighted desktop changing but then nothing changed on the actual desktop itself, among other broken window manager problems) and I had to open up a terminal and kill and restart kwin_x11 to make it work again. I also got a krunner has quit running error. It seems that something random usually breaks when disconnecting a 2nd monitor.
Comment 5 David Edmundson 2015-11-08 20:25:52 UTC
*** Bug 347195 has been marked as a duplicate of this bug. ***
Comment 6 swisscarbon 2015-11-14 12:42:22 UTC
The wrong bug got marked as dublicate here. The other bug has existed longer and contains a lot more info (including a workaround.)
Comment 7 Philipp A. 2015-12-17 13:29:01 UTC
i have similar problems, although for me, it simply gets into a silly state where maximized windows end up behind the panel.

i work around it by having "pkill plasmashell; plasmashell" in my KRunner history
Comment 8 Diego Gaustein 2015-12-23 16:54:50 UTC
I also experience this problem since upgrading to Plasma. Using 5.5.2 at the moment. I'll narrate my experience after a fresh start.

---
$ cat plasmashellrc 
[Containments][35][General]
AppletOrder=36;37;38;39;40

[PlasmaRunnerManager]
pluginWhiteList=services,places,shell,bookmarks,recentdocuments,locations,baloosearch

[PlasmaViews][Panel 1][Horizontal1280]
thickness=30

[PlasmaViews][Panel 1][Horizontal1366]
thickness=31

[PlasmaViews][Panel 1][Horizontal1920]
length=1920
thickness=30

[Updates]
performed=/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/obsolete_kickoffrc.js
---

With external monitor connected and everything lookin right:

---
$ xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1848, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+1080 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      60.10*+
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   680x384       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+
   1280x1024     60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   640x480       66.67    60.00  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
---

Go to display settings, turn off external monitor, the panel dissapears leaving a blank space.

---
xrandr -q
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      60.10*+
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   680x384       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +
   1280x1024     60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   640x480       66.67    60.00  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
---

Restarting plasmashell restores the panel. 

Then, go to display, turn on external monitor, it comes on, but the panel moves to the external monitor, even though the laptop is set as primary. Restarting plasmashell does NOT fix this.

---
$ xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1848, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+1080 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      60.10*+
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   680x384       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+
   1280x1024     60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   640x480       66.67    60.00  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
---

If I go to the display window, set the external monitor as primary, then the panel moves to the laptop, and when I set the internal as primary it moves back to the external monitor, basically staying flipped even after restarting plasmashell. If I turn off the external display again, the panel dissapears, and then restarting plasmashell does NOT fix it.

---
$ xrandr -q
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      60.10*+
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   680x384       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +
   1280x1024     60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   640x480       66.67    60.00  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
---

If I keep fiddling around, turning stuff on and off I can get it to reverse, at some point, but the behaviour is very erratic.
Comment 9 David Edmundson 2016-01-19 12:08:43 UTC

*** This bug has been marked as a duplicate of bug 356727 ***