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 507265 - gtk.AboutDialog() cuts of text when it has to wrap lines
gtk.AboutDialog() cuts of text when it has to wrap lines
Status: RESOLVED DUPLICATE of bug 438752
Product: gtk+
Classification: Platform
Component: Widget: Other
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-01-04 13:58 UTC by Raphael
Modified: 2008-01-05 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Raphael 2008-01-04 13:58:34 UTC
Please describe the problem:
See example code below to reproduce it.

python

Python 2.5.1 (r251:54863, Oct  5 2007, 13:50:07)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> about = gtk.AboutDialog()
>>> about.set_comments('Allow me to add a very long text here to see how things are done with line wrapping and such as to garantee this bug is a pygtk or gtk bug and should be posted on gnome bugzilla instead, we dont want to make mistakes now, do we?')
>>> about.run()
-6
>>> about.destroy()

Steps to reproduce:
1. python

Python 2.5.1 (r251:54863, Oct  5 2007, 13:50:07)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

2. >>> import gtk

3. >>> about = gtk.AboutDialog()

4. >>> about.set_comments('Allow me to add a very long text here to see how things are done with line wrapping and such as to garantee this bug is a pygtk or gtk bug and should be posted on gnome bugzilla and much more text that does not make much sense other then to make it wrap more')

5. >>> about.run()
-6

6. >>> about.destroy()

Actual results:
The text is wrapped, but to the far right, letters are cut off and not displayed.

Expected results:
text to wrap nicely without cutting anything off.

Does this happen every time?
yes

Other information:
this happens in ubuntu 7.10 and kubuntu 7.10 and in other setups too.
Comment 1 Christian Persch 2008-01-05 01:07:57 UTC

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