Fade plugin together with trailfocus causes high CPU usage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
New
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
1. Enable the Fade and Trailfocus plugins. Set Trailfocus "Saturation Level of Unfocused Windows" to 80.
2. Open a few windows and close one of them.
3. Observe that compiz uses a lot more CPU (30% for me) than usual.
Steps I have used to debug:
1. In gdb, set breakpoint to CompositeScreen
2. Set breakpoint to PrivateComposit
3. In FadeWindow:
My hunch is that the two plugins are competing to set the saturation value. However I haven't studied the source code in depth so I can't be sure if that is a correct guess.
Oh well, was going to add information with apport bug apparently it crashes due to some unicode bug. Well, here is the stuff manually:
Release: 12.10 4+bzr3412- 0ubuntu0. 1
package 'compiz' version: 1:0.9.8.