Windows go half-maximized on wrong monitor

Bug #769672 reported by Alistair Buxton
34
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Undecided
Unassigned
Compiz Grid Plugin
Invalid
Undecided
Unassigned
Compiz Main Plugins
Invalid
Undecided
Unassigned
compiz-plugins-main (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: compiz

To reproduce:

1. Have a dual head system with nvidia/twinview.
2. Open a window on leftmost/primary monitor.
3. Drag window to right edge of rightmost/secondary monitor.

The window goes half-maximized on the left monitor instead of the right monitor. This doesn't happen when dragging to the top or left of the rightmost monitor. If you drag the half-maximized window directly over to the right edge again, it maximizes correctly. See attached video...

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.4+bzr20110415-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.41.06 Mon Apr 18 14:53:56 PDT 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: compiz
Date: Sun Apr 24 00:49:41 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus: nvidia-current, 270.41.06, 2.6.38-8-generic, x86_64: installed
GraphicsCard:
 nVidia Corporation GT215 [GeForce GT 240] [10de:0ca3] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Giga-byte Technology Device [1458:34e2]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110422)
InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110422)
JockeyStatus: xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, Not in use)
MachineType: System manufacturer System Product Name
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=08b43be8-a7b1-4cd9-aadb-75f24c83e0b5 ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Renderer: Unknown
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/25/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0704
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A79XTD EVO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0X
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0704:bd11/25/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A79XTDEVO:rvrRevX.0X:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :
Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

Link to video: http://www.youtube.com/watch?v=1zM6AtfOnBo

This happens with both classic and unity.

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

Update: this only seems to happen with gnome-terminal windows. I think it might be because gnome-terminal resizes in fixed increments.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Kristijan Puljek (sampleofsoul) wrote :

Happens occasionally, not sure if I could reproduce it willingly though.

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

This seems to be fixed in Oneiric

tags: added: multimonitor
affects: compiz (Ubuntu) → compiz-plugins-main (Ubuntu)
Changed in compiz-plugins-main:
status: New → Confirmed
Changed in compiz-grid-plugin:
status: New → Confirmed
Changed in compiz:
status: New → Confirmed
Revision history for this message
Sébastien Pierre (sebastien-type-z) wrote :

I can reproduce this consistently (as well as #976627) by either using Grid or clicking the maximize button on the window. The window is invariably maximized in the left-most screen, while the window was originally in the right-most screen.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This could be the same root cause as bug 751605. Not sure yet.

Changed in compiz:
milestone: none → 0.9.8.0
Revision history for this message
Jim Randall (jim-dreadfest) wrote :

This happens to me a lot on Precise (with Unity-2D) when doing full maximizing. I do have different monitor resolutions.
If it helps, I've been able to work around it a few times by half-maximizing then maximizing after that.

Changed in compiz:
milestone: 0.9.8.0 → 0.9.8.1
Changed in compiz:
milestone: 0.9.8.2 → 0.9.8.4
Changed in compiz:
milestone: 0.9.8.4 → 0.9.9.0
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Can anyone still reproduce this in Ubuntu 12.10? I can't.

I can however reproduce bug 1068173, which might be related.

Changed in compiz:
status: Confirmed → Incomplete
Revision history for this message
Demortes (demortes) wrote :

I still reproduce this bug. Just as stated above. All udpated.

Changed in compiz:
milestone: 0.9.9.0 → 0.9.9.2
Changed in compiz:
milestone: 0.9.9.2 → 0.9.10.0
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
Revision history for this message
Eleni Maria Stea (hikiko) wrote :

We didn't manage to reproduce this bug which is also quite old. Therefore I changed its status to Invalid. If you still experience this issue in one of the supported Ubuntu releases, please feel free to re-open it and update the description. Thank you!

Changed in compiz:
status: Incomplete → Invalid
Changed in compiz-plugins-main (Ubuntu):
status: Confirmed → Invalid
Changed in compiz-plugins-main:
status: Confirmed → Invalid
Changed in compiz-grid-plugin:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.