Am Dienstag, den 11.09.2012, 15:24 +0200 schrieb Michel Dänzer:
On Die, 2012-09-11 at 15:07 +0200, Paul Menzel wrote:
Am Dienstag, den 11.09.2012, 14:55 +0200 schrieb Michel Dänzer:
On Die, 2012-09-11 at 14:42 +0200, Paul Menzel wrote:
using Debian Sid/unstable with the awesome 3.4.13-1 window manager and Evolution 3.4.3-1, htop shows X to constantly use 10 % of the CPU. Closing Evolution the usage goes back to more or less 0 %.
I'm not seeing this. Is there something in your Evolution window(s) that is constantly repainting, e.g. a spinner in the status bar, a blinking cursor, ... ?
Now that you are mentioning it, in the bottom there is the message »Checking for New Messages« and next to it there is an animation where something goes around a circle. Canceling that removes X’s CPU usage.
That's a GTK+ spinner widget, which uses RENDER trapezoids, which is a software rendering fallback with EXA.
Could that be changed to not us some fallback?
Should I recommend something to the Evolution folks on how to due such animations? Or is the only way to avoid animations?
I don't think there's anything wrong with the animation per se. However, one issue I've found is that Evolution schedules many actions as glib idle callbacks with priority lower than G_PRIORITY_HIGH_IDLE + 20, which is the priority used by GTK+ for drawing animations. This can result in the animations delaying the completion of the actual work they're representing.
I reported that issue as
[Bug 683867] Schedule actions with priority higher than G_PRIORITY_HIGH_IDLE + 20
to the GNOME BTS [1] and Matthew Barnes replied that this should be done in GTK+ itself.
Thanks,
Paul