Bug 287297

Summary: windowmaker thinks the desktop size is 1024*768 instead of the real one 1400*1050
Product: [openSUSE] openSUSE 10.3 Reporter: Joop Boonen <joop.boonen>
Component: X11 ApplicationsAssignee: Vladimir Nadvornik <nadvornik>
Status: RESOLVED WONTFIX QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: felix, zscherni
Version: Alpha 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Start-up screen when starting kde from kdm
maximized firefox in windowmaker windowsize is 1024*768 desktop size 1400*1050
kdm.log
xorg.conf
lspci -vx
Xorg.0.log
Xorg.99.log
screen shot DISPLAYMANAGER_RANDR_MODE_* values

Description Joop Boonen 2007-06-25 19:37:02 UTC
kdm thinks the desktop size is 1024*768 insead of the real one 1400*1050

From: kdm.log

/org/freedesktop/Hal/devices/computer
xrandr for VGA: new mode 1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
Comment 1 Joop Boonen 2007-06-25 19:37:58 UTC
Created attachment 148215 [details]
Start-up screen when starting kde from kdm
Comment 2 Joop Boonen 2007-06-25 19:39:37 UTC
Created attachment 148216 [details]
maximized firefox in windowmaker windowsize is 1024*768 desktop size 1400*1050
Comment 3 Joop Boonen 2007-06-25 19:40:40 UTC
Created attachment 148217 [details]
kdm.log

I think this is the part in the logging where should be focused on.

/org/freedesktop/Hal/devices/computer
xrandr for VGA: new mode 1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
Comment 4 Joop Boonen 2007-06-25 19:40:56 UTC
Created attachment 148218 [details]
xorg.conf
Comment 5 Joop Boonen 2007-06-25 19:41:19 UTC
Created attachment 148219 [details]
lspci -vx
Comment 6 Joop Boonen 2007-06-25 19:41:39 UTC
Created attachment 148220 [details]
Xorg.0.log
Comment 7 Joop Boonen 2007-06-25 19:41:52 UTC
Created attachment 148221 [details]
Xorg.99.log
Comment 8 Joop Boonen 2007-06-25 19:42:57 UTC
My system is a HP Compaq nc6120 display 1400*1050
Comment 9 Dirk Mueller 2007-06-26 08:38:12 UTC
can you please post the output of "xrandr" ?

also, does it work if you use Xorg instead of Xgl?
Comment 10 Felix Möller 2007-06-26 12:45:36 UTC
Joop you might have a look at bug #286096 
Comment 11 Joop Boonen 2007-06-26 22:23:59 UTC
xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1400
VGA disconnected 1024x768+0+0 (normal left inverted right) 0mm x 0mm
   1024x768_60    60.0*
LVDS connected 1400x1050+0+0 (normal left inverted right) 305mm x 228mm
   1400x1050      60.0*+
   1024x768       60.0
   800x600        60.3
   640x480        59.9
TV disconnected (normal left inverted right)
Comment 12 Joop Boonen 2007-06-26 22:37:26 UTC
Created attachment 148440 [details]
screen shot DISPLAYMANAGER_RANDR_MODE_* values

In connection to bug #286096

Why does DISPLAYMANAGER_RANDR_MODE_auto have value, different that 1400*1050?
Comment 13 Joop Boonen 2007-06-26 22:57:28 UTC
Changed value DISPLAYMANAGER_RANDR_MODE_auto from
1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
to
1400x1050_60.0  108.00  1400 1432 1544 1688  1050 1052 1056 1066 -hsync -vsync
 I don't know if this is the correct wa to fix the bug. I worked.

xrandr 
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1400
VGA disconnected (normal left inverted right)
LVDS connected 1400x1050+0+0 (normal left inverted right) 305mm x 228mm
   1400x1050      60.0*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right)
Comment 14 Stephan Kulow 2007-06-27 07:44:02 UTC
it doesn't look like kdm's fault
Comment 15 Stefan Dirsch 2007-06-29 17:05:48 UTC
This is a duplicate of Bug #286096.

>Why does DISPLAYMANAGER_RANDR_MODE_auto have value, different that 1400*1050?
1024x768 is the standard for a video projector.

*** This bug has been marked as a duplicate of bug 286096 ***
Comment 16 Joop Boonen 2007-09-01 11:55:01 UTC
The problem still exists in openSuSE 10.3 Beta 2. It's most clearly in Windowmaker

Value:
DISPLAYMANAGER_RANDR_MODE_auto
is still:
1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
Comment 17 Stefan Dirsch 2007-09-01 12:01:40 UTC
So kdm (displaymanager) is fine now, but after login windowmaker (your window manager) has a problem?
Comment 18 Joop Boonen 2007-09-01 14:33:47 UTC
Yes it's comparable to:
https://bugzilla.novell.com/attachment.cgi?id=148216

An attachment to this Bug.
Comment 19 Joop Boonen 2007-09-01 14:35:41 UTC
es it's comparable to:
https://bugzilla.novell.com/attachment.cgi?id=148216

An attachment to this Bug.

This is the size of Firefox after it's maximized.
Comment 20 Stefan Dirsch 2007-09-01 14:37:50 UTC
Ok. So it's a windowmaker problem, which can't handle RANDR 1.2 correct yet.
Comment 21 Felix Möller 2007-12-16 23:52:48 UTC
For KDE4 Dirk solved this in https://bugzilla.novell.com/show_bug.cgi?id=335530.
Comment 22 Sebastian Zschernig 2008-03-31 19:23:38 UTC
So this is not the same problem as in bug 343858?

https://bugzilla.novell.com/show_bug.cgi?id=343858
Comment 23 Stefan Dirsch 2008-03-31 20:18:17 UTC
It is, but this time it needs to be adressed in windowmaker, not in GNOME.
Comment 24 Vladimir Nadvornik 2008-09-09 09:13:04 UTC
I don't have time to debug this and upstream is quite dead, sorry.