GNOME Bugzilla – Bug 507265
gtk.AboutDialog() cuts of text when it has to wrap lines
Last modified: 2008-01-05 01:07:57 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.
*** This bug has been marked as a duplicate of 438752 ***