Bug 360856 - panel is shown on non-existing screen
Summary: panel is shown on non-existing screen
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.5.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-22 15:44 UTC by Jiri Slaby
Modified: 2018-03-30 12:28 UTC (History)
2 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 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.