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 438752 - clipped text in about dialogue
clipped text in about dialogue
Status: RESOLVED DUPLICATE of bug 530255
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 338149 469611 473816 507265 510025 (view as bug list)
Depends on: 508002
Blocks:
 
 
Reported: 2007-05-15 23:44 UTC by Christian Persch
Modified: 2008-07-23 09:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (676 bytes, text/plain)
2007-05-15 23:45 UTC, Christian Persch
Details

Description Christian Persch 2007-05-15 23:44:32 UTC
Testcase attached.

Screenshot @ http://www.gnome.org/~chpe/images/wrap-justify-bug.png .
Note the clipped text at the right "...foun[d]" and the misaligned centering of the text.

glib/pango/gtk+ svn trunk.
Comment 1 Christian Persch 2007-05-15 23:45:01 UTC
Created attachment 88253 [details]
testcase
Comment 2 Christian Persch 2007-08-23 19:22:40 UTC
*** Bug 469611 has been marked as a duplicate of this bug. ***
Comment 3 Christian Persch 2007-09-05 12:01:04 UTC
*** Bug 473816 has been marked as a duplicate of this bug. ***
Comment 4 Christian Persch 2008-01-05 01:07:57 UTC
*** Bug 507265 has been marked as a duplicate of this bug. ***
Comment 5 Benny Malengier 2008-01-06 08:46:05 UTC
Note that this bug is highly annoying as the code is being distributed now in Fedora, Ubuntu, .... , and this means my applications about box is not fully readable. 

Please, increase the priority, or we need to look at using a different or custom about box. 
Also, this obviously should be put on confirmed, just open a gtk about box on eg Ubuntu Gutsy.

Word wrapping the comment text with \n is no solution as the translators are not aware of the bug and cannot know why the linebreak is there. Furthermore, line breaks will be ugly once this is solved
Comment 6 Benny Malengier 2008-01-06 08:49:50 UTC
Oeps, I just read the tip on meaning of unconfirmed, sorry, I am used to mantis bug tracker
Comment 7 Jérôme Rapinat 2008-01-07 13:10:23 UTC
I have the same issue under OpenSuse 10.3 (gtk 2.12)
regards,
Comment 8 Behdad Esfahbod 2008-01-08 08:38:56 UTC
I think bug 508002 is causing this.  Will fix that one tomorrow.
Comment 9 Christian Persch 2008-01-12 20:12:28 UTC
*** Bug 338149 has been marked as a duplicate of this bug. ***
Comment 10 Thomas Andersen 2008-01-12 20:37:51 UTC
Looking at the source of the about dialog I can see that gtk_label_set_justify() is called first and then gtk_label_set_line_wrap(). 

From the documentation of gtk_label_set_justify():
"gtk_label_set_justify() has no effect on labels containing only a single line."

Could it be that this is caused by calling gtk_label_set_justify() on the single line and then afterwards splitting the line  with gtk_label_set_line_wrap()?

Perhaps reordering these two calls would fix this? (this is completely speculative...)
Comment 11 Thomas Andersen 2008-01-15 19:43:22 UTC
meh, disregard last comment. I got around to testing it (had to figure out to use ldconfig) and it does not fix the problem. Obviously. I just reread the code and my above comment is nonsense. Sorry for the spam...

One extra comment:
I filled the dupe (338149) for 2.8 so the bug was not introduced new in 2.12.

Comment 12 Behdad Esfahbod 2008-01-17 03:06:07 UTC
*** Bug 510025 has been marked as a duplicate of this bug. ***
Comment 13 Behdad Esfahbod 2008-01-22 02:09:23 UTC
Can someone please test that this is fixed with pango trunk?
Comment 14 Djihed Afifi 2008-01-22 08:06:13 UTC
I'd like to see what fixed this if any please. Is it #508002 ?

This might be related to bug #508192 .
Comment 15 Behdad Esfahbod 2008-01-22 09:35:28 UTC
Yes, bug 508002 is what I fixed and I think should fix this.

Bug 508192 might be related to this one, but I don't think the other way around.
Comment 16 Christian Persch 2008-01-22 11:43:16 UTC
Still reproducible with pango trunk.
Comment 17 Behdad Esfahbod 2008-01-22 17:32:29 UTC
Ah, guess I'm innocent then.
Comment 18 Christian Persch 2008-07-23 09:58:29 UTC
This is fixed on trunk.

*** This bug has been marked as a duplicate of 530255 ***