Bug 330013

Summary: Plasma does not resize when external monitor unplugged on laptop (using Catalyst drivers)
Product: [Unmaintained] plasma4 Reporter: Alex Makin <alex>
Component: multiscreenAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alex Makin 2014-01-16 04:43:51 UTC
Hello,

I am using an HP Pavilion Dv6 laptop with an AMD graphics card and the proprietary Catalyst fglrx drivers. To ensure that fglrx can work under a multi-monitor setup I am required to add the following to xorg.conf:

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport   0 0
                Depth     24                        # Should not change from '24'
                Virtual 3840 1920                  ## (x+64, y) to workaround potential OGL rect. artifacts/
        EndSubSection                               ## fixed in Catalyst 9.8
EndSecti

The virtual line enables support for the multi-monitor setup.  Plasma, however does adjust its width when the external monitor is unplugged.  Interestingly this issue does not occur under Ubuntu with compiz/unity. 

Unfortunately the use of the proprietary drivers is required due to graphic intensive tasks that are undertaken. 

Please advise if you require any further information. 


Thanks,

Alex

Reproducible: Always

Steps to Reproduce:
1. Install fglrx drivers
2. Unplug external monitor
3.
Actual Results:  
Plasma does not adjust to the change in resolution or screens. 

Expected Results:  
Plasma to resize itself as required.
Comment 1 Alex Makin 2014-01-16 08:04:54 UTC
Output of xrandr -q with screen plugged in:

LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768       59.6*+
   1360x768       59.6  
   1280x768       59.6  
   1280x720       59.6  
   1024x768       59.6  
   1024x600       59.6  
   800x600        59.6  
   800x480        59.6  
   640x480        59.6  
DFP1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080      60.0*+   50.0     59.9     60.1     50.0     60.0  
   1600x1200      60.0  
   1776x1000      50.0     59.9     50.0     60.0  
   1680x1050      50.0     60.0  
   1400x1050      60.0     50.0  
   1600x900       60.0     50.0  
   1280x1024      50.0     75.0     60.0  
   1440x900       50.0     75.0     59.9  
   1280x960       50.0     60.0  
   1280x800       50.0     59.8  
   1152x864       50.0     59.9     75.0  
   1280x768       50.0     59.8  
   1280x720       60.0     50.0     59.9  
   1024x768       50.0     75.0     70.1     60.0  
   1152x648       50.0     59.9  
   1024x600       50.0     75.0     70.1     60.0  
   800x600        50.0     72.2     75.0     60.3     56.2  
   720x576        59.9     50.0  
   800x480        50.0     72.2     75.0     60.3     56.2  
   720x480        50.0     60.0     59.9  
   640x480        50.0     75.0     72.8     66.8     59.9  
CRT1 disconnected (normal left inverted right x axis y axis)

Output of xrandr -q with screen unplugged:

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192                                                          
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm                                  
   1366x768       59.6*+                                                                                                      
   1360x768       59.6                                                                                                        
   1280x768       59.6                                                                                                        
   1280x720       59.6  
   1024x768       59.6  
   1024x600       59.6  
   800x600        59.6  
   800x480        59.6  
   640x480        59.6  
DFP1 disconnected (normal left inverted right x axis y axis)
CRT1 disconnected (normal left inverted right x axis y axis)

When re-plugging in the external monitor, the display on both screens becomes garbled and non-responsive.
Comment 2 Nate Graham 2018-06-08 19:06:24 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham