GNOME Bugzilla – Bug 708787
GtkStatusbar text is mangled
Last modified: 2013-10-06 06:14:45 UTC
When text is put onto a GtkStatusbar with gtk_statusbar_push() in 3.10.0 it can get mangled, in that the vertical space allowed for the text is much too small for it to be legible -- only a thin "stripe" of the text is shown. I'm going to attach a couple of PNGs, one showing the behavior of GTK 3.8.4 plus pango 1.34.1 (text displays correctly) and one showing the behavior of GTK 3.10.0 plus pango 1.36.0 (text totally illegible). These are screenshots from two different machines, but the machine currently running GTK 3.10.0 had GTK 3.8.4 and earlier pango installed previously and the text outcome was OK. I'm not sure if this is a GTK or a pango issue.
*** Bug 708788 has been marked as a duplicate of this bug. ***
Created attachment 255724 [details] Correct: GTK 3.8.4 + pango 1.34.1
Created attachment 255725 [details] Broken: GTK 3.10.0 + pango 1.36.0
Do you have a self-contained testcase?
Created attachment 255881 [details] testcase This testcase works fine here. Can you modify it to reproduce the breakage ?
Thanks for looking into this. I'm pressed for time, but I'll try the modification as soon as I can.
Created attachment 255953 [details] case to illustrate breakage Turns out it depends on the resize mode for the statusbar. I'm actually not sure why my code used GTK_RESIZE_QUEUE, I guess I must have cribbed it from somewhere a long time ago. Anyway, the code didn't break the statusbar text on GTK 3.8.
I've deprecated gtk_container_set_resize_mode() now. I don't think I'm going to fix that bug because I honestly don't care. If anyone elase wants to look at it, be my guest.