Bug 293073 - kdm does not deal with multiple monitors with different size/rotation
Summary: kdm does not deal with multiple monitors with different size/rotation
Status: RESOLVED NOT A BUG
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-01 19:14 UTC by Luiz Angelo De Luca
Modified: 2014-06-02 18:23 UTC (History)
0 users

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 Luiz Angelo De Luca 2012-02-01 19:14:44 UTC
Version:           unspecified (using KDE 4.8.0) 
OS:                Linux

Hello,

I use this config define in /etc/X11/xdm/Xsetup:

Screen 0: minimum 320 x 200, current 2448 x 1050, maximum 4096 x 4096
DVI-I-1 connected 1680x1050+768+0 (normal left inverted right x axis y axis)
474mm x 296mm
   1680x1050      59.9*+
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
DVI-I-2 connected 768x1024+0+0 left (normal left inverted right x axis y axis)
304mm x 228mm
   1024x768       60.0*+   75.1     70.1  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  

This is a 22' screen (B) with a 15' (A) left rotated in its left

+------+------------+
|      |            | 
|  A   |      B     |
|      |            |
+------+------------+

KDE works well with this setup but kdm does not.

KDM considers screen A the primary one (while kde correctly considers B). It
also calculated the screen size based on A size not rotated.


Photos attached

Expected Results:  
Kdm using just primary screen (B), and background using fullscreen

Reproducible: Always

Steps to Reproduce:
Use two monitors with different resolutions

Add these lines in /etc/X11/xdm/Xsetup

xrandr --output DVI-I-1 --primary
xrandr --output DVI-I-2 --rotate left
xrandr --output DVI-I-1 --primary
xrandr --output DVI-I-2 --left-of DVI-I-1
xrandr --output DVI-I-1 --primary
xrandr --output DVI-I-1 --auto
xrandr --output DVI-I-2 --auto

Actual Results:  
kdm uses the first screen as the main one and does not consider the screen rotation while calculating the background size.

Expected Results:  
It should use the main screen to draw kdm window and draw background according to each screen size.

I reported this problem at opensuse:

https://bugzilla.novell.com/show_bug.cgi?id=616420

There are some photos there to illustrate the problem better.

Also, If I move the kdm window (holding alt and dragging), it moves instantaneously to main window.