PDA

View Full Version : problems maximizing windows (won't maximize to entire screen size)


mrgrieves
February 9th, 2008, 02:27 PM
Hi All,

I'm having this problem since I installed compiz-fusion. Everything is running fine and the effects are awsome but whenever I try to maximize a window it gets moved to the upper left corner, doesn't cover the whole screen and it looses all the border but the top.

I'm running fedora 8 and have an ATI Radeon X300 video card and I'm using the radeon driver

Below my xorg.conf

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

#Section "ServerFlags"
# Option "AIGLX" "on"
#EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
Option "backingstore" "true"
Option "EnablePageFlip" "true"
Option "SubPixelOrder" "none"
Option "AccelMethod" "XAA"
Option "RenderAccel" "true"
Option "AGPMode" "4"
Option "ColorTiling" "on"
Option "DynamicClocks" "on"
Option "mtrr" "on"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "DRI"
Mode 0666
EndSection

Any ideas what could be causing this behaviour?

Thanks in advance

Fyda
February 10th, 2008, 12:15 AM
It sounds to me like your display size (ie. the dimensions of your desktop) might not be detected/reported correctly (or perhaps it has been set incorrectly). The behaviour you described would occur if a display output were set to be in the top-left corner and at a size smaller than the full screen. I couldn't be certain without a screenshot, though.

Under Section "Screen", I also noticed that you don't have any screen resolutions explicitly set, like this (assuming a 1024x768 screen resolution):
SubSection "Display"
Modes "1024x768"
EndSubSection But, I'm not sure that adding this would solve the issue.

It's also possible (and perhaps easier) to open CCSM and change the settings in General Options -> Display Settings. Is the Detect Outputs option enabled? If not, try enabling it. If it is already enabled, then disable it and set the following under Outputs (by editing the default line already in the list):
1024x768+0+0
Remember to change the above numbers as appropriate to your screen resolution. The +0+0 should be left alone (they denote the x/y offset from the top-left of the screen; since you have only one display output, this shouldn't be changed).

You'll probably need to restart Compiz (eg. by running compiz --replace or whichever method you used to start it) for this change to take effect.

NoSkill
February 10th, 2008, 01:12 AM
It sounds to me like your display size (ie. the dimensions of your desktop) might not be detected/reported correctly (or perhaps it has been set incorrectly). The behaviour you described would occur if a display output were set to be in the top-left corner and at a size smaller than the full screen. I couldn't be certain without a screenshot, though.

Under Section "Screen", I also noticed that you don't have any screen resolutions explicitly set, like this (assuming a 1024x768 screen resolution):
SubSection "Display"
Modes "1024x768"
EndSubSection But, I'm not sure that adding this would solve the issue.

Roughly, the SubSection "Display" is correct, but missing bits anyway - maybe thr line with Viewport 0 0 needs to be in there too (see below).

But I am intrigued as to why the section named "Monitor" is missing and nothing is referencing it :confused: For example:
Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

mrgrieves
February 13th, 2008, 12:09 AM
Thanks a lot guys,

configuring the right resolution (1280x1024) on CCSM did the trick here and now I can maximize without problems.

Cheers.