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 728218 - With GTK 3.12, Rendering progress dialog is too wide and text does not wrap
With GTK 3.12, Rendering progress dialog is too wide and text does not wrap
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: User interface
0.91
Other Linux
: Normal normal
: 0.94
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on: 729532
Blocks: 682886
 
 
Reported: 2014-04-14 21:52 UTC by Alexandre Prokoudine
Modified: 2014-09-29 00:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot - can't reproduce (14.73 KB, image/png)
2014-04-14 23:53 UTC, Jean-François Fortin Tam
Details

Description Alexandre Prokoudine 2014-04-14 21:52:22 UTC
This text:

<small>This process may take a long time depending on the selected codecs, the image resolution, your computer's processing power, applied effects and the length of your movie.</small>

...is currently displayed in the render status dialog in a single line which makes the dialog unreasonably wide. Two lines would be quite an improvement, and maybe using the GtkInfobar widget instead should not be sneezed at ;-)
Comment 1 Jean-François Fortin Tam 2014-04-14 23:53:23 UTC
Created attachment 274320 [details]
screenshot - can't reproduce

This is how it looks like on my end, no problem in either French or English, with either Droid Sans or Cantarell as the font... need more info on how to trigger this, as the text wrapping seems to "just work" on Fedora 20 with GTK 3.10.x...
Comment 2 Jean-François Fortin Tam 2014-05-12 01:59:47 UTC
Pfff, this is a deprecation introduced by GTK 3.12, see bug #729532:

> The change that is causing this is that we no longer set an implicit default
> size of 640x480 on newly created windows, so they grow to fill the monitor.
> To prevent this, set a suitable default size on your windows.
Comment 3 Jean-François Fortin Tam 2014-09-06 22:37:40 UTC
This is actually blocked on GTK+ bug #729532; the suggested approach in that bug report doesn't seem to work here: setting the "resizable" property to True makes the text wrap, however the height then gets incorrectly calculated and you have a huge empty space below the text label.
Comment 4 Matthias Clasen 2014-09-07 12:13:01 UTC
If the 'huge empty space' is your concern, I showed at guadec how to make that go away:

gtk_label_set_width_chars (label, 50);

You are right though that this fix only works for resizable windows.
Comment 5 Jean-François Fortin Tam 2014-09-29 00:56:02 UTC
commit 4c6e1375232b752e3c522d18b0c6b076f8e136d8
Author: Jean-François Fortin Tam <nekohayo@gmail.com>
Date:   Sun Sep 28 17:21:03 2014 -0400

    Fix the text wrapping in the rendering progress dialog
    
    The trick is to:
    - Make the window resizeable and set a default width for it
    - Set the "width_chars" property on the label
    
    Fixes bug #728218