GNOME Bugzilla – Bug 728218
With GTK 3.12, Rendering progress dialog is too wide and text does not wrap
Last modified: 2014-09-29 00:56:02 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 ;-)
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...
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.
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.
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.
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