window redraw glitches caused by ubuntu patch

Bug #802747 reported by Ori Avtalion
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
metacity (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

There are several metacity bugs related to glitches / artefacts. I'm not sure if this is a duplicate or not, but I have some more information.

Using the ubuntu's patch to metacity "16-capture-before-unmap.patch" causes the glitches to appear.
I reported it in the patch's original bug that tracks its development: https://bugs.launchpad.net/unity-2d/+bug/696864

To reproduce one of the problems related to border redraw (copied from the bug report above):

Using the Human theme, go to a clean desktop and open several terminals. they will tile. Now hold alt-tab to quickly change the focus between them. The focus rectangle will move between the windows, and when it will disappear, the edges of the window decoration will be removed, and not redrawn.

I have a feeling this is a cause for many glitches in metacity related to window redraw. Since I can't consistently reproduce all of those glitches, I have no way to be sure, but removing 16-capture-before-unmap.patch from metacity *does* make the ones I noticed go away.

Changed in metacity (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
assignee: Oliver Grawert (ogra) → nobody
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

metacity 1:2.30.3-0ubuntu8 altered the patch to set the "capture-before-unmap" gconf key to false by default. Check if your gconf setting for this is on, and if turning it off resolves the problem as well as disabling the patch entirely does.

If so, then I think all is good. Only people who deliberately turn on the option, or who upgraded during development when the switch was on by default, will see the problem.

Revision history for this message
Ori Avtalion (salty-horse) wrote :

You are correct, Bryce! Thanks :)

Unsetting the key fixed the glitches for me:

$ gconftool-2 --set /apps/metacity/general/capture_before_unmap --type bool false

Maybe a future release should attempt to re-set it to be false during the upgrade process?

Changed in metacity (Ubuntu):
status: Confirmed → Invalid
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.