[dash] showing/hiding places causing graphical corruption

Bug #750753 reported by Bill Filler
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
Critical
Florian Boucault

Bug Description

This is based on research from bug 740387.
I was able to reproduce the corruption with /apps/metacity/general/capture_before_unmap set to false which rules out th e metacity patch being the problem, at least in this case.

I tested on natty using with nvidia graphics and natty beta and latest from unity-2d dpaily ppa. See attached video. This is how I am able to reproduce reliably:

1) make sure you have files on your desktop (not sure if this is required)
2) open two terminals and have them overlap
3) show dash using Super key
4) hide dash using Super key
5) show applications place by clicking on launcher
6) hide it pressing Super key
7) show dash pressing Super key
bang, the windows that were beneath the apps place are corrupted

verified bug occurs on -intel graphics as well

Simplier steps to reproduce:

1) open 2 terminals
2) bring up apps place
3) super key to hide apps place
4) super key to show dash
bang - corruption

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :
Changed in unity-2d:
milestone: none → 3.8.2
assignee: nobody → Florian Boucault (fboucault)
importance: Undecided → Critical
Changed in unity-2d:
assignee: Florian Boucault (fboucault) → Ugo Riboni (uriboni)
Changed in unity-2d:
assignee: Ugo Riboni (uriboni) → Florian Boucault (fboucault)
status: New → Confirmed
Changed in unity-2d:
status: Confirmed → In Progress
Revision history for this message
Florian Boucault (fboucault) wrote :

The corruption is 100% reproducible with metacity but does not happen with either xfwm4 or Compiz.

Revision history for this message
Ugo Riboni (uriboni) wrote :

The bug is caused by the fact that our dash window is of EWMH type "dock" and likely we're doing something that metacity assumes that a dock shouldn't ever do.

This only happens with metacity,not the xfce wm or compiz.

I have not yet found out why this happens, but I isolated the issue and made a minimal test case to reproduce it.
You can find it in this branch: bzr+ssh://bazaar.launchpad.net/~uriboni/unity-2d/corrupter/
I can get corruption reliably with that app on both the natty VM and natty on a netbook.

I will try to figure out why this happens and what workarounds or fixes we can put in place, tomorrow morning.

Changed in unity-2d:
status: In Progress → Fix Committed
Changed in unity-2d:
status: Fix Committed → Fix Released
Revision history for this message
Ferrin (ferrin-riggins) wrote :

sorry, I'm a complete newb here. I have an old T 40 IBM Thinkpad. So... no super key.(windows key) basically, the Dash is constant. i cannot get it to "minimize?" or hide. is this related?

Revision history for this message
Olivier Tilloy (osomon) wrote :

Ferrin: the dash should hide whenever you toggle the BFB button off (in the top left corner, with the Ubuntu logo), or when you launch any application. If it doesn’t, it’s a bug, but likely a different one: could you please file a separate bug report? Thanks!

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

Other bug subscribers

Bug attachments

Remote bug watches

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