alt+tab window cycling leaves window borders drawn across windows

Bug #759203 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: metacity

Using metacity in natty (with the intel driver), if I use alt+tab to cycle between three windows, and I cycle past a window which overlaps the previously-foregrounded window, a line is left behind after alt+tab where the border of the cycled-past window was shown.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: metacity 1:2.30.3-0ubuntu7
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
Architecture: amd64
Date: Tue Apr 12 14:14:53 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: metacity
UpgradeStatus: Upgraded to natty on 2011-03-24 (18 days ago)

Revision history for this message
Steve Langasek (vorlon) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

screenshot.

Revision history for this message
Steve Langasek (vorlon) wrote :

to reproduce:

 - open three terminal windows on the desktop.
 - position two of the windows so that they partially overlap
 - adjust the alt-tab order of the windows so that the overlapping windows are the first two in the list.
 - alt-tab to the third window (cycling past the second one)
 - the remains of the border of the second window (the one under the first window) are left behind.

Revision history for this message
Martin Pitt (pitti) wrote :

Potential duplicate of bug 740387; would be interesting to see if this still happens with a build with disabling 16-capture-before-unmap.patch.

Revision history for this message
Steve Langasek (vorlon) wrote :

Yes, removing that patch corrects the issue. Marking as a duplicate.

Revision history for this message
Steve Langasek (vorlon) wrote :

I initially thought the problem was fixed, but after subsequent use I was still seeing corruption. I wasn't sure whether I had accidentally overwritten my locally-built package so didn't follow up... but now I've upgraded to the metacity that's supposed to fix bug #740387 and I'm still seeing problems, so I'm going to un-dupe this bug.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the stable release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed. You can find out more about it at http://www.ubuntu.com/download . Thanks again and we appreciate your help.

Changed in metacity (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

Yes, it's still present in oneiric. And according to upstream, this is a recently-fixed X bug, not a bug in metacity.

Patch can be found here:
  http://article.gmane.org/gmane.comp.freedesktop.xorg.devel/25664

Still testing the patch to confirm that it fixes the problem here.

affects: metacity (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: Incomplete → New
Revision history for this message
Steve Langasek (vorlon) wrote :

I've confirmed that this upstream patch fixes the issue, and will push the fix to precise.

Changed in xorg-server (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.10.4-1ubuntu5

---------------
xorg-server (2:1.10.4-1ubuntu5) precise; urgency=low

  * debian/patches/511_Update_border_clip_in_compAllocPixmap.patch:
    patch from upstream to fix window border traces left behind when
    switching windows in metacity. LP: #759203.
 -- Steve Langasek <email address hidden> Fri, 21 Oct 2011 23:04:54 -0700

Changed in xorg-server (Ubuntu):
status: In Progress → Fix Released
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.