Bug 347469

Summary: Desktop size bigger than monitors on dual/triple monitor setup, third monitor disabled
Product: [Plasma] KScreen Reporter: Frank Sagurna <fgunni>
Component: kdedAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED FIXED    
Severity: normal CC: adotfive, nyx, plasma-bugs
Priority: NOR    
Version: 5.2.2   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frank Sagurna 2015-05-09 14:21:28 UTC
I have two monitors and one TV connected to my desktop.
When i login, the TV is connected but disabled, but it seems like the initial desktop size is calculated with this disabled TVs resolution. If i move to the screen borders the desktop scrolls to some black screen parts that are hidden.
If i go to kscreen and move the disabled Screen a bit and hit apply, desktop size is correct again till next login.

Monitors:
1. Belinea 1280x1024
2. Dell 1280x1024
3. LG (TV) 1920x1080 (disabled and only used sometimes)

Graphics-Card:
NVidia GTX 660
Nvidia driver 346.59 (ubuntu package)

Reproducible: Always

Steps to Reproduce:
1. Login to KDE
2. Move to the border of the screen


Actual Results:  
(virtual) desktop moves because it is bigger than expected

Expected Results:  
desktop size should be like connected, and acitvated, monitors
Comment 1 Alexey Dyachenko 2015-06-08 10:29:23 UTC
Happens to me most of the time.
I have 2560x1440 connected with DP (enabled in kscreen) and a 1080p tv HDMI (disabled in kscreen).

On login the screen is much larger than maximum monitor resolution, and monitor resolution is sometimes set even lower (e.g. to 1080p).

Here is the output:

Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  59.94    50.00    29.97    23.97    60.05    60.00    50.04  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     60.02  
   1280x720      60.00    59.94    50.00    29.97    23.97  
   1152x864      75.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00    50.08  
   720x480       59.94    60.05  
   640x480       59.94    59.93  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm panning 4480x1440+0+0
   2560x1440     59.95*+
   1920x1080     60.00    59.94  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DP-5 disconnected (normal left inverted right x axis y axis)

Every boot I have to do

xrandr --output DP-4 --auto --output HDMI-0 --off
xrandr -s 2560x1440
Comment 2 Frank Sagurna 2015-08-09 00:10:12 UTC
Bug seems fixed now for me.
Comment 3 Alexey Dyachenko 2015-08-23 18:01:35 UTC
I stopped using Plasma on 5.3 or something, because everything crashing after screen change is totally not usable environment, but I'm back on 5.3.95 and this bug is still present.

I have three displays:
1680x1050 on the left
2560x1440 in the center
1920x1080 on the left (disabled)

However after login kscreen does not restore my previous configuration, instead I'm presented with unified screen (same picture) on all three displays, all of them are set lowest (1680x1050) resolution. 

So I'm totally back to using xrandr scripts, and plasma and kwin crashing.
Comment 4 Alexey Dyachenko 2015-09-03 13:08:42 UTC
Still happens with 5.4.0, nvidia 355.11

Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 470mm x 300mm
   1680x1050     59.88 +  59.95* 
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
HDMI-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 930mm x 520mm
   1920x1080     60.00 +  59.94    50.00    29.97    23.97    60.05    60.00    50.04  
   1680x1050     59.95* 
   1600x900      60.00  
   1280x1024     60.02  
   1280x720      60.00    59.94    50.00    29.97    23.97  
   1152x864      75.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00    50.08  
   720x480       59.94    60.05  
   640x480       59.94    59.93  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   2560x1440     59.95 +
   1920x1080     60.00    59.94  
   1680x1050     59.95* 
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DP-5 disconnected (normal left inverted right x axis y axis)