Incorrect desktop scaling when profile is loaded on monitor disconnect.
I currently have a triple monitor setup with one 1440p monitor in the middle and a 1080p monitor on each side. The 1440p monitor is hooked up to a monitor switch so that I can switch it between 2 PCs. To keep the monitor layout I have configured 2 monitor profiles one that includes all monitors and one that only includes the two side 1080p monitors. When toggling the monitor switch to disconnect the 1440p monitor the profile that contains the two 1080p monitors is loaded, however the desktop does not scale correctly to two 1080p monitors and parts of the desktop are cut-off. Opening xfce4-display-settings and clicking apply to reapply the monitor configuration fixes the issue, but is obviously not optimal.
Basically when a monitor is disconnected and a new monitor profile is loaded which contains monitors with a different resolution the desktop does not scale correctly.
3 Monitor Profile (1080p | 1440p | 1080p)
2 Monitor Profile (1080p | 1080p)
Video of issue: https://www.youtube.com/watch?v=p0B9twpHPcU
Profiles Section of Config:
<property name="Notify" type="bool" value="true"/>
<property name="AutoEnableProfiles" type="bool" value="true"/>
<property name="ba324ca7b1c77fc20bb970d5aff6eea9377918a5" type="string" value="linux">
<property name="DVI-I-1" type="string" value="Ancor Communications Inc 24"">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value="5e617296240a7a5be002a7f1039a8e0ea0d18783"/>
<property name="Resolution" type="string" value="1920x1080"/>
<property name="RefreshRate" type="double" value="60.000000"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="true"/>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="181"/>
</property>
</property>
<property name="DVI-D-0" type="string" value="LG Electronics 24"">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value="d29ef06c5f0f5efef2b50f6d8ac900d9a1a2b941"/>
<property name="Resolution" type="string" value="1920x1080"/>
<property name="RefreshRate" type="double" value="60.000000"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="false"/>
<property name="Position" type="empty">
<property name="X" type="int" value="4480"/>
<property name="Y" type="int" value="181"/>
</property>
</property>
<property name="DP-1" type="string" value="LG Electronics 27"">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value="34a7c26d841f06a6be2c01929294a0582cef2b28"/>
<property name="Resolution" type="string" value="2560x1440"/>
<property name="RefreshRate" type="double" value="119.997589"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="false"/>
<property name="Position" type="empty">
<property name="X" type="int" value="1920"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
</property>
<property name="ab378b80a8a4aafabac7db7ae169f25796e65994" type="string" value="windows">
<property name="DVI-I-1" type="string" value="Ancor Communications Inc 24"">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value="5e617296240a7a5be002a7f1039a8e0ea0d18783"/>
<property name="Resolution" type="string" value="1920x1080"/>
<property name="RefreshRate" type="double" value="60.000000"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="true"/>
<property name="Position" type="empty">
<property name="X" type="int" value="0"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
<property name="DVI-D-0" type="string" value="LG Electronics 24"">
<property name="Active" type="bool" value="true"/>
<property name="EDID" type="string" value="d29ef06c5f0f5efef2b50f6d8ac900d9a1a2b941"/>
<property name="Resolution" type="string" value="1920x1080"/>
<property name="RefreshRate" type="double" value="60.000000"/>
<property name="Rotation" type="int" value="0"/>
<property name="Reflection" type="string" value="0"/>
<property name="Primary" type="bool" value="false"/>
<property name="Position" type="empty">
<property name="X" type="int" value="1920"/>
<property name="Y" type="int" value="0"/>
</property>
</property>
</property>