Bug 358624

Summary: Plasma Panel stays on disconnected Primary Output
Product: [Plasma] plasmashell Reporter: Malte S. Stretz <mss>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kamikazow, kde, philippe.cattin, plasma-bugs
Priority: NOR    
Version: 5.5.3   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Malte S. Stretz 2016-01-27 07:49:40 UTC
This is probably the same issue as bug 355466 and bug 356608 but I file a new one since the way of getting there is differently.

Reproducible: Always

Steps to Reproduce:
1. Connect a second monitor to your laptop (HDMI3 below)
2. Set that display as the Primary
3. Configure you Panel to be on that screen
4. Shut down
5. Disconnect the Primary monitor
6. Power up your machine again

Actual Results:  
The panel is lost, probably still on the primary monitor. It is impossible to use desktop unless you know your tricks (eg. how to pull up KRunner).

Expected Results:  
The Panel should be available on the sole available screen (unless otherwise configured). Especially if there's only one panel.

When the primary is disconnected, no screen is marked as primary anymore:

Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1600x900      60.01*+  40.00  
   1440x900      59.89  
   1368x768      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   800x450       60.00  
   640x480       59.94  
   720x405       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 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Comment 1 Malte S. Stretz 2016-01-27 07:51:22 UTC
This happens on Kubuntu 15.10 (wily); KDE from the kubuntu-ppa. I notice this because everything worked fine with plasma 4 on Kubuntu 14.04.
Comment 2 Thomas Abraham 2016-01-27 20:27:27 UTC
Please see my comment on Bug 356225 regarding plasma-org.kde.plasma.desktop-appletsrc. It might be helpful to workaround the issue.
Comment 3 Malte S. Stretz 2016-01-27 20:31:05 UTC
Funnily, it looks like it magically fixed itself yesterday just when I pressed the Submit button for this bug: Suddenly the panel appeared on my laptop screen. Today I was at the office (where my extra screen is) and now I'm back home again and the panel behaves exactly like it should.
Comment 4 Thomas Abraham 2016-01-27 20:50:46 UTC
I'm sure: this issue will return as long the bug is not resolved. There are a couple of open issues relating to this one....
Comment 5 markuss 2016-02-29 20:49:02 UTC

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