panel animations should be disabled if compiz is enabled

Bug #135382 reported by Wousser
2
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Wishlist
Unassigned
gnome-panel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If you click on a launcher on the panel you normally get a nice animation and than the program.
If you have xgl/compiz enabled this animation is very slow. You'll see a black square and after that the program.
Users now must uncheck enable_animations in /apps/panel/global/
This should be automatically turned on or off.

I don't exactly know if this is a bug in xgl/compiz or gnome-panel. I gueass gnome-panel so I filled it against that package.

gnome-panel --version: GNOME gnome-panel 2.19.6

Related branches

Revision history for this message
Travis Watkins (amaranth) wrote :

I use Xgl here and this works fine and is not in the way at all.

Changed in compiz:
importance: Undecided → Wishlist
Revision history for this message
Wousser (wousser) wrote :

Maybe it has anything to do with the videocard the user is using. I've an ATI 9800, maybe my card is to slow to display the animations correctly.
If you search google you'll see that more people are having slow animations.

"I thought the same thing about the application-opening animation (which for some reason is very slow under XGL). After poking around it gconf I found a way to turn it off: Set the apps/panel/global/enable_animations key to false."

"Minimizing windows shows an ugly black border around them or is choppy.
Code: gconftool-2 --set --type boolean /apps/panel/global/enable_animations "False""

"On a side note, if you are running GNOME, it is reccomended to disable /apps/panel/global/enable_animations. This will turn off the panel “zoom effect” when clicking launchers, which has been known to slow down and possibly crash compiz."

Revision history for this message
Michael Vogt (mvo) wrote :

Could you please check this with the latest compiz packages (from today)? I have seen this before on a ati 7500, but this seems to be gone now.

Changed in compiz:
status: New → Incomplete
Revision history for this message
Wousser (wousser) wrote :

I still have the issue. I think it has something to do with xgl instead of compiz.

Revision history for this message
Travis Watkins (amaranth) wrote :

But I use Xgl and don't get this. I'd say it's because you use the fglrx driver and I use the nvidia one but I don't really see how that would make a difference. I mean, this animation is lightning fast when done in software so having Xgl use OpenGL to do it should at worst make it slightly slower. I suppose it could be some weird edge case in the fglrx driver no one ever thought to test. What kind of slowdown are you talking about? Two times slower than without Xgl? Ten times?

Revision history for this message
Wousser (wousser) wrote :

It can be a fault in the driver.
Without Xgl the animations is lightning fast indeed, but with Xgl it is about two times slower. It takes about 3 seconds.
I tried to capture the animation but that didn't' work. I will try to post a capture tomorrow.

Revision history for this message
Wousser (wousser) wrote :

here's a video of the animation captured with my phone. Excuses about the bad quality and the noise. I hope you can see what I mean.

Changed in compiz:
status: Incomplete → Confirmed
Revision history for this message
Travis Watkins (amaranth) wrote :

Here is a debdiff for gnome-panel to not show animations if a compositor is enabled.

Changed in gnome-panel:
status: New → In Progress
Revision history for this message
Wousser (wousser) wrote :

Thanks for your fix.
I don't know how to apply a debdiff but by looking at your code I say it should work.

Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-panel (1:2.20.0.1-0ubuntu2) gutsy; urgency=low

  * debian/patches/09_lpi.patch:
    - removed the launchpad integration from the panel context menu,
      the users tend to use it as a "send a bug" item for issues which
      are not due to the gnome-panel
  * debian/patches/15_no_animation_if_composited.patch:
    - change from Travis Watkins,
      "Disable panel animations if a compositor is running. (LP: #135382)"

 -- Sebastien Bacher <email address hidden> Fri, 21 Sep 2007 17:27:08 +0200

Changed in gnome-panel:
status: In Progress → Fix Released
Changed in compiz:
status: Confirmed → 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.