GNOME Bugzilla – Bug 702421
Undesired Resize of dialog caused by text not wrapped
Last modified: 2013-09-12 02:32:38 UTC
Hi, PyGobject Team I am a accepted GSoC 2013 student for GNOME and currently working on porting Getting Things GNOME! (GTG) to Gtk3 and Python3. The proposal can be found here [1]. Overview: The AboutDialog of GTG will resize when click "credits" button. We assume that it is caused by the text not wrapped. Steps to Reproduce: I have created a standalone demo [2] on githubfor you guys can reproduce. 1) git clone git://github.com/huxuan/GTG-AboutDialog-Demo.git 2) cd GTG-AboutDialog-Demo 3) python demo.py 4) click "credits" button Actual Results: The AboutDialog resized. Expected Results: The AboutDialog should not resize. Build Date & Platform: Latest version on Ubuntu 13.04 from official repo. [1] http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/huxuan/38002 [2] https://github.com/huxuan/GTG-AboutDialog-Demo
Hi, I am pretty sure this should be either a feature request or regression bug in GTK+ (if it used to wrap in GTK+ 2). Also, I see the function: gtk_about_dialog_set_wrap_license for wrapping the license text, but nothing for the credits. https://developer.gnome.org/gtk3/3.8/GtkAboutDialog.html#gtk-about-dialog-set-wrap-license You might also try asking on a mailing list like gtk-app-devel: https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi, Semon Feltman Thanks for your reply. One thing I have missed is that the AboutDialog of GTG works fine in pygtk version. So is there anything I can do to make wrapped credits work?
(In reply to comment #2) > So is there anything I can do to make wrapped credits work? Not that I'm aware of, but I also don't know much about the specifics of this dialog. There might be a way to access the AboutDialogs internal widgets and turn wrapping on. Your best bet is to ask on one of the mailing lists or irc channels to get help with this.
For support in figuring out how to wrap the text in the AboutDialog, please use a mailing list or irc: http://www.gtk.org/mailing-lists.php irc://irc.gnome.org/%23gtk%2B