After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708787 - GtkStatusbar text is mangled
GtkStatusbar text is mangled
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 708788 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-09-25 21:55 UTC by Allin Cottrell
Modified: 2013-10-06 06:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Correct: GTK 3.8.4 + pango 1.34.1 (15.02 KB, image/png)
2013-09-25 22:08 UTC, Allin Cottrell
Details
Broken: GTK 3.10.0 + pango 1.36.0 (18.70 KB, image/png)
2013-09-25 22:09 UTC, Allin Cottrell
Details
testcase (370 bytes, text/x-csrc)
2013-09-26 20:43 UTC, Matthias Clasen
Details
case to illustrate breakage (668 bytes, text/plain)
2013-09-27 20:11 UTC, Allin Cottrell
Details

Description Allin Cottrell 2013-09-25 21:55:31 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.
Comment 1 Allin Cottrell 2013-09-25 22:07:27 UTC
*** Bug 708788 has been marked as a duplicate of this bug. ***
Comment 2 Allin Cottrell 2013-09-25 22:08:36 UTC
Created attachment 255724 [details]
Correct: GTK 3.8.4 + pango 1.34.1
Comment 3 Allin Cottrell 2013-09-25 22:09:44 UTC
Created attachment 255725 [details]
Broken: GTK 3.10.0 + pango 1.36.0
Comment 4 Benjamin Otte (Company) 2013-09-25 22:59:17 UTC
Do you have a self-contained testcase?
Comment 5 Matthias Clasen 2013-09-26 20:43:14 UTC
Created attachment 255881 [details]
testcase

This testcase works fine here. Can you modify it to reproduce the breakage ?
Comment 6 Allin Cottrell 2013-09-26 21:22:09 UTC
Thanks for looking into this. I'm pressed for time, but I'll try the modification as soon as I can.
Comment 7 Allin Cottrell 2013-09-27 20:11:16 UTC
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.
Comment 8 Benjamin Otte (Company) 2013-10-05 13:22:11 UTC
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.