"Place Windows" sporadically fails to set fixed viewport on windows started by Startup Applications

Bug #727098 reported by Bayle Shanks
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
ubuntu-meta (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ubuntu-desktop

I placed some terminals, firefox, and emacs in Startup Applications. I used Compiz's Place Windows functionality to tell Compiz to place these windows on specific viewports. I verified that starting the application manually caused the window to be placed appropriately. However, logging out and logging back in, the windows were not placed appropriately. Specifically, one of my startup applications is

/usr/bin/gnome-terminal --title 'Term 3'

and I have a Place Windows->Windows with fixed viewport rule with precondition "title=Term 3" that places the window at position 3,1. This rule seems to work every time when I execute "/usr/bin/gnome-terminal --title 'Term 3'" during the session, but it only works sporadically on the Term 3 window that appears at startup.

My initial hypothesis is that Startup Applications started the applications before Compiz was ready, and then Compiz Place Windows did not want to move windows that already existed.

This would be useful because if it worked, Place Windows could be a partial replacement for session saving, which has been removed ( https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/726431 )

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,scale,expo,vpswitch,resize,snap,mousepoll,gnomecompat,grid,wall,place,move,regex,workarounds,ezoom,session,staticswitcher]
CompositorRunning: compiz
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768
 edid-base64: AP///////wBMo0JHAAAAAAAUAQOAFw54CrhVlFhUkiocUFQAAAABAQEBAQEBAQEBAQEBAQEBEhtWclAADDAwICUA330AAAAZAAAADwAAAAAAAAAAAB60AnQAAAAA/gBTQU1TVU5HCiAgICAgAAAA/gAxMDFBVDAzLTcwMQogAHc=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Tue Mar 1 02:53:15 2011
DistUpgraded: Yes, recently upgraded Log time: 2011-02-27 15:44:26.119310
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 hid-ntrig, 1.1.2, 2.6.35-25-generic, x86_64: installed
 hid-ntrig, 1.1.2, 2.6.38-5-generic, x86_64: installed
GraphicsCard:
 Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Fujitsu Limited. Device [10cf:150e]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InstallationMedia_: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: FUJITSU T580
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-generic root=UUID=db746971-cee9-4a74-90db-0c9cb14920ea ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Renderer: Unknown
SourcePackage: compiz
dmi.bios.date: 12/24/2010
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: Version 1.04
dmi.board.name: FJNB21E
dmi.board.vendor: FUJITSU
dmi.chassis.type: 10
dmi.chassis.vendor: AI40110911BA1023
dmi.modalias: dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.04:bd12/24/2010:svnFUJITSU:pnT580:pvr:rvnFUJITSU:rnFJNB21E:rvr:cvnAI40110911BA1023:ct10:cvr:
dmi.product.name: T580
dmi.sys.vendor: FUJITSU
version.compiz: compiz 1:0.9.4-0ubuntu1
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1~git20110215.cc1636b6-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu8
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu11
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu5

Revision history for this message
Bayle Shanks (bshanks) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-meta (Ubuntu):
status: New → Confirmed
Revision history for this message
kaaquantum (kaaquantum) wrote :

The same bug still is in ubuntu 12.04 (

Revision history for this message
adasiko (adasiko256) wrote :

Yes, I have this bug in ubuntu 12.04.
Maybe we can fix this by wmctrl or other similar utilities...

kaaquantum: что-то много тут русских :)

Revision history for this message
sergeysynergy (sergeysynergy) wrote :

Same bug in ubuntu 12.04

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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