Bug 360856

Summary: panel is shown on non-existing screen
Product: [Plasma] plasmashell Reporter: Jiri Slaby <jirislaby>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, notuxius
Priority: NOR    
Version: 5.5.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jiri Slaby 2016-03-22 15:44:05 UTC
I unplugged external monitor, but panel did not appear on the notebook screen. Plasmashell said:
kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" )

But the panel is obviously on the second screen. When I replug the monitor, the panel is there.

I had to change .config/plasma-org.kde.plasma.desktop-appletsrc in section
[Containments][1]
where
plugin=org.kde.panel
from
lastScreen=1
to
lastScreen=0
and restart plasma by:
killall plasmashell ; plasmashell
to have the panel on the notebook.

BTW sometimes, if I plug an external monitor, I have to do this to have the panel on the primary (notebook's screen) output:
xrandr --noprimary
killall plasmashell
plasmashell >/dev/null 2>&1 &
sleep 5
xrandr --output LVDS1 --primary


Reproducible: Always
Comment 1 Alexander Mentyu 2018-03-05 14:35:15 UTC
Can you reproduce it after updates?
Comment 2 David Edmundson 2018-03-05 17:34:54 UTC
> But the panel is obviously on the second screen.

What makes it obviously there as opposed to not existing

What does xrandr -q show after unplugging?
Comment 3 Christoph Feck 2018-03-30 12:13:03 UTC
If you can provide the information requested in comment #2, please add it.
Comment 4 Jiri Slaby 2018-03-30 12:28:45 UTC
Seems like fixed as I don't remember it recurring.