GNOME Bugzilla – Bug 756526
Storm of "draw" callbacks when using gtk_style_context_get with GTK_STATE_FLAG_PRELIGHT
Last modified: 2015-10-16 02:44:09 UTC
If I use gtk_style_context_get on the widget style context with GTK_STATE_FLAG_PRELIGHT as flag inside the draw callback, I get a storm of callbacks which make the application uses high cpu resources. I have included a simple test-widget to illustrate the bug. The bug is present in gtk 3.18.*, but not in gtk 3.16.* or gtk 3.14.*
Created attachment 313214 [details] Simple code to illustrate the bug
*** This bug has been marked as a duplicate of bug 756524 ***