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 702421 - Undesired Resize of dialog caused by text not wrapped
Undesired Resize of dialog caused by text not wrapped
Status: RESOLVED NOTABUG
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-17 06:16 UTC by Xuan (Sean) Hu
Modified: 2013-09-12 02:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xuan (Sean) Hu 2013-06-17 06:16:09 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
Comment 1 Simon Feltman 2013-06-17 15:59:41 UTC
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
Comment 2 Xuan (Sean) Hu 2013-06-18 02:02:24 UTC
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?
Comment 3 Simon Feltman 2013-06-19 14:54:49 UTC
(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.
Comment 4 Simon Feltman 2013-09-12 02:32:38 UTC
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