[natty] moving a window between workspaces changes its position

Bug #691545 reported by Marc Deslauriers
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libwnck
Expired
Medium
libwnck (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: compiz

Since upgrading to natty, when I move a window from one workspace to another by right-clicking on the title bar and selecting one of the "Move to Workspace" options, the window's position on the new workspace changes, the window get progressively lower.

Steps to reproduce:
1- Open Firefox on workspace 1
2- Align bottom of firefox window with bottom gnome panel
3- Right click title bar, select "Move to Workspace Right"
4- Go to Workspace 2
5- Notice the bottom of the firefox window is now underneath the bottom gnome panel

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.2.1+glibmainloop3-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.37-9.23-generic 2.6.37-rc5
Uname: Linux 2.6.37-9-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/allscreens/options/active_plugins'
Date: Fri Dec 17 08:25:40 2010
EcryptfsInUse: Yes
MachineType: LENOVO 6459CTO
PackageArchitecture: all
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
PciDisplay: 01:00.0 VGA compatible controller [0300]: nVidia Corporation G84M [Quadro NVS 140M] [10de:0429] (rev a1) (prog-if 00 [VGA controller])
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 LC_MESSAGES=en_CA.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.37-9-generic root=/dev/mapper/defaultvg-root ro vt.handoff=7 quiet splash
RelatedPackageVersions:
 xserver-xorg 1:7.5+6ubuntu3b1
 libgl1-mesa-glx 7.9+repack-1ubuntu3
 libdrm2 2.4.22-2ubuntu1
 xserver-xorg-video-intel 2:2.13.901-2ubuntu2
 xserver-xorg-video-ati 1:6.13.2-1ubuntu2
SourcePackage: compiz
dmi.bios.date: 11/14/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETC5WW (2.25 )
dmi.board.name: 6459CTO
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:bvr7LETC5WW(2.25):bd11/14/2008:svnLENOVO:pn6459CTO:pvrThinkPadT61:rvnLENOVO:rn6459CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 6459CTO
dmi.product.version: ThinkPad T61
dmi.sys.vendor: LENOVO
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.37-9-generic

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
summary: - [natty] moving a window between workspaces changes it's position
+ [natty] moving a window between workspaces changes its position
Revision history for this message
Javier Moreno (elpasmo) wrote :

I confirm this bug:
uname -a
Linux 2.6.37-9-generic i686

apt-cache oikicy compiz
compiz:
  Installed: 1:0.9.2.1+glibmainloop3-0ubuntu3
  Candidate: 1:0.9.2.1+glibmainloop3-0ubuntu3
  Version table:
 *** 1:0.9.2.1+glibmainloop3-0ubuntu3 0
         500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages
         100 /var/lib/dpkg/status

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Javier Moreno (elpasmo) wrote :

Since upgrading to natty, when I move a window from one workspace to another by right-clicking on the title bar and selecting one of the "Move to Workspace" options, the window's position on the new workspace changes, the window get progressively lower.

Steps to reproduce:
1- Open Firefox on workspace 1
2- Align bottom of firefox window with bottom gnome panel
3- Right click title bar, select "Move to Workspace Right"
4- Go to Workspace 2
5- Notice the bottom of the firefox window is now underneath the bottom gnome panel

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.2.1+glibmainloop3-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.37-9.23-generic 2.6.37-rc5
Uname: Linux 2.6.37-9-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/allscreens/options/active_plugins'
Date: Fri Dec 17 08:25:40 2010
EcryptfsInUse: Yes
MachineType: LENOVO 6459CTO
PackageArchitecture: all
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
PciDisplay: 01:00.0 VGA compatible controller [0300]: nVidia Corporation G84M [Quadro NVS 140M] [10de:0429] (rev a1) (prog-if 00 [VGA controller])
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 LC_MESSAGES=en_CA.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.37-9-generic root=/dev/mapper/defaultvg-root ro vt.handoff=7 quiet splash
RelatedPackageVersions:
 xserver-xorg 1:7.5+6ubuntu3b1
 libgl1-mesa-glx 7.9+repack-1ubuntu3
 libdrm2 2.4.22-2ubuntu1
 xserver-xorg-video-intel 2:2.13.901-2ubuntu2
 xserver-xorg-video-ati 1:6.13.2-1ubuntu2
SourcePackage: compiz
dmi.bios.date: 11/14/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETC5WW (2.25 )
dmi.board.name: 6459CTO
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:bvr7LETC5WW(2.25):bd11/14/2008:svnLENOVO:pn6459CTO:pvrThinkPadT61:rvnLENOVO:rn6459CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 6459CTO
dmi.product.version: ThinkPad T61
dmi.sys.vendor: LENOVO
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.37-9-generic

Downstream link: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/691545

Changed in compiz:
importance: Undecided → Unknown
status: New → Unknown
Changed in compiz (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
In , Sam Spilsbury (smspillaz) wrote :

Just a little bit of scratchpad here:

-> it seems that we are moving windows correctly on change of _NET_WM_DESKTOP but not taking into account their frame extents. Happens on 0.8 too.

Revision history for this message
BryanFRitt (bryanfritt) wrote :

Also happens in Ubuntu 10.10 with 0.9.2.1 Compiz
It seams to also move a pixel or so to the right too, in addition to this vertical motion.
Something like this also happens when enabling / disabling plugins, except it applies to all windows.

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

I've seen it

Changed in compiz (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Oh bah, it should be "Triaged" - could somebody change it back?

Changed in compiz (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
In , Sam Spilsbury (smspillaz) wrote :

It is a bug in libwnck, filed upstream

Revision history for this message
In , Sam Spilsbury (smspillaz) wrote :
affects: compiz (Ubuntu) → libwnck (Ubuntu)
Revision history for this message
Travis Watkins (amaranth) wrote :

Here is the patch submitted upstream to correct this issue. It sets StaticGravity on viewport changes, as the spec says it should.

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

This bug was fixed in the package libwnck - 1:2.30.6-0ubuntu3

---------------
libwnck (1:2.30.6-0ubuntu3) natty; urgency=low

  [ Travis Watkins ]
  * debian/patches/02_moveresize_static_gravity.patch:
    - Don't move window position when switching workspaces (LP: #691545)
 -- Robert Ancell <email address hidden> Tue, 04 Jan 2011 17:16:01 +1100

Changed in libwnck (Ubuntu):
status: Triaged → Fix Released
Changed in compiz:
importance: Unknown → Low
status: Unknown → In Progress
Changed in libwnck:
importance: Unknown → Medium
status: Unknown → New
no longer affects: compiz
Changed in libwnck:
status: New → Expired
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.