Comment 0 for bug 947025

Often when I try to maximise a window that is on the primary display it will move to the secondary display instead. Here is what I did just now:

I have a Chromium window that I want to move from the secondary display to the primary display, so I drag the window over to my primary display, and drag the title bar to the top of the screen.

Result: The window maximises, but on the secondary display instead.

Same scenario, but instead of dragging the window to the top I use the window controls to maximise the window.

Result: The window maximises, but on the secondary display instead.

Same scenario, but I try to maximise on half the primary display by dragging to the left (or right). I'm doing this just to test really.

Result: It works as expected and the window changes dimensions to fit in the left (or right) half of the primary display.

If, after dragging the window to my primary display, I resize the window to make sure that it fits fully w/in the dimensions of the primary display it will maximise on the primary display as expected. Therefore, I suspect the problem is that some part of the window is hanging off-screen and Compiz assumes I want to move the window to the other display. This is a poor assumption, and quite honestly very frustrating. My secondary display is quite a bit larger than the primary and this means this scenario happens frequently.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: compiz 1:
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64

ApportVersion: 1.94-0ubuntu1
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,move,resize,gnomecompat,regex,grid,place,animation,snap,imgpng,vpswitch,workarounds,mousepoll,expo,ezoom,session,wall,fade,scale,unityshell]
CompositorRunning: compiz
Date: Mon Mar 5 10:44:13 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
 virtualbox, 4.1.8, 3.2.0-17-generic, x86_64: installed
 virtualbox, 4.1.8, 3.2.0-18-generic, x86_64: installed
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21da]
MachineType: LENOVO 4287CTO
PackageArchitecture: all
 PATH=(custom, user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-generic root=UUID=f9fa28fa-904b-4d39-aaec-c28fae337ae4 ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install) 07/01/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET49WW (1.19 )
dmi.board.asset.tag: Not Available 4287CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8DET49WW(1.19):bd07/01/2011:svnLENOVO:pn4287CTO:pvrThinkPadX220:rvnLENOVO:rn4287CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: 4287CTO
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:
version.ia32-libs: ia32-libs 20090808ubuntu33
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2