Bug 349074 - Disconnecting second monitor leaves user with a large panning desktop
Summary: Disconnecting second monitor leaves user with a large panning desktop
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.3.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-06-12 19:17 UTC by DrSlony
Modified: 2018-09-26 05:51 UTC (History)
5 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 DrSlony 2015-06-12 19:17:39 UTC
When I connect a second monitor using HDMI or DVI I have my primary 1920x1080 desktop on the laptop, and a second larger or smaller one (depending which monitor I connect) adjacent to that on the second device. When I then disconnect the second monitor, my primary desktop becomes 1920+the second monitor's width, and it's a panning one, so the viewport is 1920px wide and when I move the mouse to the right screen edge it pans the desktop to the right. On disconnecting the second monitor, I should be left with one non-panning desktop of the same resolution as the monitor: 1920x1080.

nvidia-drivers-340.76 if that matters.

Reproducible: Always
Comment 1 David Edmundson 2015-08-19 10:44:13 UTC
can you include the output of

xrandr -q 

both before and after you unplug?
Comment 2 DrSlony 2015-09-01 18:08:43 UTC
Apologies for the late reply. The panning desktop issue is solved plasma-5.4.0. I still experience the issue of windows going below the panel or being maximized with their bottom edge high above the panel, but that was a separate issue.

FWIW:

Disconnected:
$ xrandr -q 
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080     60.01*+
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)

Connected:
$ xrandr -q 
Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080     60.01*+
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200     59.95*+
   1920x1080     59.93  
   1680x1050     59.95  
   1600x1200     60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  

Disconnected
$ xrandr -q 
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080     60.01*+
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
Comment 3 Enrico Tagliavini 2016-01-27 08:09:19 UTC
There seems to be many bugs tracking the same issue. I happened to find bug #310168 first and I added xrandr output there already (with some additional information too). Still happening as of plasma 5.5.3 and kf5 5.18
Comment 4 Andrew Crouthamel 2018-09-25 21:57:19 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!
Comment 5 DrSlony 2018-09-26 05:51:13 UTC
The requested info was provided 3 years ago.
Comment 6 DrSlony 2018-09-26 05:51:30 UTC
Can no longer reproduce.