GNOME Bugzilla – Bug 754703
High CPU load when displaying ringchart in backdrop mode
Last modified: 2015-09-10 11:35:38 UTC
Created attachment 310864 [details] [review] Ringchart: always use the correct state when getting colors When the ringchart is shown, change focus to a different window and watch the CPU usage of baobab go up. Once the window gets focused again the CPU usage is back to normal. This problem is due to the ringchart triggering an invalidation + redraw from inside its draw function if the window is in the backdrop state resulting in a redrawing loop. I'm attaching a patch to fix this. (I've only noticed this issue in combination with gtk 3.17.x, but earlier versions might be affected as well.)
thanks! Attachment 310864 [details] pushed as 5380d41 - Ringchart: always use the correct state when getting colors