Windows get misplaced after turning on/off secondary monitor

Bug #994128 reported by zzarko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
New
Undecided
Unassigned
Compiz Core
New
Undecided
Unassigned
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have a configuration with two video outputs, one is a 1900x1200 monitor, and another one in 1024x768 projector (capable of using up to 1400x1050 resolution). Since I cannot scale 1900x1200 to projector, I'm turning it on/off from Displays settings panel. When the projector output is turned on, some windows are automatically placed on it (in the same workspace). When I turn off projector's output, some windows are placed on another workspace. All this can be seen in 4 screenshot I provided. First one is windows positions before turning on the projector, second shows windows after turning on the projector, third shows windows placed where they supposed to be (I moved them there before turning the projector off), and fourth shows windows placement after turning off the projector.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.10.0-0ubuntu6
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
.tmp.unity.support.test.0:

ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Thu May 3 19:57:37 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 fglrx-updates, 8.960, 3.2.0-23-generic, x86_64: installed
 fglrx-updates, 8.960, 3.2.0-24-generic, x86_64: installed
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI Tahiti PRO [Radeon HD 7950] [1002:679a] (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:0424]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
JockeyStatus:
 xorg:fglrx_updates - ATI/AMD proprietary FGLRX graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
 xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Disabled, Not in use)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=a2c2864a-4a37-4200-abeb-af6a72dfb402 ro quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/08/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.00
dmi.board.name: Z68 Extreme4 Gen3
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.00:bd07/08/2011:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnZ68Extreme4Gen3:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz 1:0.9.7.6-0ubuntu2~ppa2
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs 20090808ubuntu35
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
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

Revision history for this message
zzarko (zzarko-gmail) wrote :
Revision history for this message
zzarko (zzarko-gmail) wrote :
Revision history for this message
zzarko (zzarko-gmail) wrote :
Revision history for this message
zzarko (zzarko-gmail) wrote :
Revision history for this message
zzarko (zzarko-gmail) wrote :

Disclaimer: Jockey status is wrong. fglrx IS in use, but jockey reported an error after driver installation and never noticed thar drivers are installed. This bug about Jockey is alredy submited (Bug #988033).

Revision history for this message
zzarko (zzarko-gmail) wrote :

Also, notice that in fourth screenshot, Nautilus's window isn't visible. It showed up on workspace 4 (where Writer is), after several clicks on it's icon in launcher, and moving to workspace above it and back.

affects: unity (Ubuntu) → compiz (Ubuntu)
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

I can confirm as well. This bug seems intensely related to bug 804036; however, this one also includes windows being misplaced on external monitor activation as well as deactivation. Considering that a dupe report of 804036 regards these same issues, I'm going to mark this as a duplicate of bug 804036 and update the information there (it's also assigned to a dev, too).

Thanks for your bug report, and please report anything you may find in the future!

To post a comment you must log in.