Bug 372890

Summary: default LVDS is left without widgets
Product: [Plasma] plasmashell Reporter: David Heidelberg <david>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: notmart, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: plasma-org.kde.plasma.desktop-appletsrc

Description David Heidelberg 2016-11-24 17:15:55 UTC
Created attachment 102432 [details]
plasma-org.kde.plasma.desktop-appletsrc

Setup: LENOVO T430, Intel 3000 HD
Dock DVI: 1080x1920
Dock DP: 1080x1920
LVDS: 1600x900 (disabled in Dock mode, laptop support only 2 simu outputs)

When undocking, I sadly get only empty screen with running plasmashell.

This means, there is no popups control, no NetworkManager control (sadly thanks to different bug, Wifis marked "available for all users" won't get automatically connected)

$ plasmashell 
No metadata file in the package, expected it at: "/home/okias/Pictures/"                                                                                                                                                         
No metadata file in the package, expected it at: "/home/okias/Pictures/"                                                                                                                                                         
No metadata file in the package, expected it at: "/home/okias/Pictures/"
Plasma Shell startup completed

After removal of ".config/plasma-org.kde.plasma.desktop-appletsrc" it starts normally.
Comment 1 David Heidelberg 2016-11-24 17:19:30 UTC
Also in case there is someone workin on plasmashell in Prague, Czech Republic, I'm willing to help with improving multi-monitor setup..

xrandr in dock:

$ xrandr 
Screen 0: minimum 320 x 200, current 2160 x 1920, maximum 8192 x 8192
LVDS-1 connected (normal left inverted right x axis y axis)
   1600x900      60.00 +
   1440x900      59.89  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 600mm x 340mm
   1920x1080     60.00*+
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.90  
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
   720x400       70.08  
DP-2 connected 1080x1920+1080+0 right (normal left inverted right x axis y axis) 600mm x 340mm     
   1920x1080     60.00*+                                                                           
   1680x1050     59.95                                                                             
   1600x900      60.00                                                                             
   1280x1024     60.02                                                                             
   1440x900      59.89                                                                             
   1280x720      60.00                                                                             
   1024x768      60.00                                                                             
   800x600       60.32                                                                             
   640x480       59.94                                                                             
   720x400       70.08                                                                             
DP-3 disconnected (normal left inverted right x axis y axis)
Comment 2 David Heidelberg 2016-11-25 23:20:11 UTC
When I add default panel on LVDS screen is also present on DVI output when connected in dockstation.

Can be this logic avoided?

Solution preferably use LVDS setup from screen which include at least >= 1 widgets. Screen which has only background can be ignored when different screen is used.

Not sure how to manage it in plasmashell logic,

maybe use PRIMARY display widgets when only LVDS is used.
Comment 3 Marco Martin 2016-11-30 11:09:07 UTC
plasma version?
also, need plasmashellrc as well
Comment 4 Marco Martin 2016-12-15 13:30:01 UTC
can't know if the problem is already fixed or not without exact plasma version or exact master checkout date
Comment 5 Marco Martin 2016-12-15 14:37:31 UTC
please test again in 5.8.5
Comment 6 Marco Martin 2016-12-30 10:31:11 UTC
should be fixed in 5.8.5, please open again if happens in more recent versions