Bug 354272 - Panels disappear when setting second screen
Summary: Panels disappear when setting second screen
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.4.0
Platform: Arch Linux Linux
: NOR grave
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-10-23 18:24 UTC by Ismael Castiñeira Álvarez
Modified: 2018-09-27 17:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ismael Castiñeira Álvarez 2015-10-23 18:24:31 UTC
I have configured a panel in the right border of the screen (laptop), with auto hide. 
When connecting an external monitor (side by side), the panels moves to the external monitor. When removing the external monitor, the panel does not come back to the main screen.

Plasma shows the correct number of the panel's widgets in the "Add widget" window, but the widgets are *dead*. That means that the network manager applet won't auto connect to wifi networks, KDE Connect won't start, volume keys don't work, notifications are shown as boxes.

When connected the external monitor, the panel will appear and all widgets will start working. 

Reproducible: Always

Steps to Reproduce:
1. Have a panel autohiding in the right border of the screen
2. Add an second display and set up to the right (KScreen will do that for you when cycling through screen configs). The panel will move to the new screen.
3. Disconnect the second display.

Actual Results:  
Goodbye panel. It does not come back unless you connect the external panel again. 
Restarting plasma does not fix this.

Expected Results:  
The panel should come back to its position, where it was before the secondary monitor was connected.
Comment 1 David Edmundson 2015-10-23 18:35:12 UTC
Can I have the output of 
xrandr -q

before plugging in the scecond screen
after plugging it in
after removing it
Comment 2 Ismael Castiñeira Álvarez 2015-10-23 18:55:50 UTC
Before:
[ismael@Zincpad ~]$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
   1280x800      60.05*+  50.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 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)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
[ismael@Zincpad ~]$
Comment 3 Ismael Castiñeira Álvarez 2015-10-23 18:57:07 UTC
Connected:
[ismael@Zincpad ~]$ xrandr -q
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192
LVDS1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
   1280x800      60.05*+  50.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 connected 1920x1080+1280+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1280x1024     60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      59.97  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   640x480       66.67    60.00  
   720x400       70.08  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 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)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
[ismael@Zincpad ~]$
Comment 4 Ismael Castiñeira Álvarez 2015-10-23 18:57:43 UTC
After:
[ismael@Zincpad ~]$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
   1280x800      60.05*+  50.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 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)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
[ismael@Zincpad ~]$
Comment 5 raay.max 2016-01-11 02:27:51 UTC
I have similar problem.
When I connect second monitor - panels moves to external screen. When im trying to move them back they dissipaters. When I try to disconnect and then reconnect monitor panels sometimes shows back on external monitor but I cant move them back to my primary laptop screen. Only way is to recreate panel.

My config:
I don't use auto-hide. 
Only one panel in default location.
External screen on left of laptop.

Reproducible: Always 
Steps to Reproduce: 
1. Connect second monitor
2. Disconnect second monitor

Actual Results: 
No panels on primary screen.

Expected Results: Panels should stay on their places when connecting anything, My dreams are to remember panels and widgets for specific screen - sometimes I use 2 external monitors and laptop screen and I want to configure widgets and panels on them only once. Now i have to reconfigure everything every connect or disconnect of screen.  Moving panels through screens should work.


Before connect:
$ xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1920x1080     60.02*+  47.99  
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 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)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

After connect:
$ xrandr -q
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1920x1080     60.02*+  47.99  
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   640x480       75.00    60.00  
   720x400       70.08  
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

After disconnect:
$ xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1920x1080     60.02*+  47.99  
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 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)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Comment 6 Andrew Crouthamel 2018-09-25 21:50:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!