GNOME Bugzilla – Bug 583857
GtkStatusbar grip repaint issue
Last modified: 2009-07-24 17:32:13 UTC
There is a repaint issue in GtkStatusbar, its visible if you open eog and resize the window. The grippie in the lower right corner is not repainted right. I think the problem is that nothing invalidates the grippie area on size allocate, or something like that. This only happens when the status bar has "extra" widgets, I think because otherwise the label is allocated over the grip. Attaching a simple testcase. (I thought this was a client side windows regression, so i started debugging it)
Created attachment 135362 [details] test case run this and resize the window to see the bug
GtkStatusBar inherits from GtkHBox, GtkHBox from GtkBox and that sets gtk_widget_set_redraw_on_allocate (GTK_WIDGET (box), FALSE) in it's init method. GtkStatusBar needs to set it back to TRUE. I've tried that and it fixes the problem. It needs to go to "gtkstatusbar.c" into function "static void gtk_statusbar_init (GtkStatusbar *statusbar)"
Created attachment 139069 [details] [review] Patch to fix the problem Fix
Thanks, fixed.