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 682766 - [regression] Welcome dialog's ButtonBox items' width is sometimes inconsistent
[regression] Welcome dialog's ButtonBox items' width is sometimes inconsistent
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: User interface
0.91
Other Linux
: Normal normal
: 0.92
Assigned To: Jean-François Fortin Tam
Pitivi maintainers
Depends on:
Blocks: 682886
 
 
Reported: 2012-08-27 06:36 UTC by Jean-François Fortin Tam
Modified: 2013-11-03 20:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screencast (302.93 KB, video/webm)
2012-08-27 06:37 UTC, Jean-François Fortin Tam
Details
glade3 file (5.63 KB, application/x-glade)
2012-08-27 06:37 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2012-08-27 06:36:16 UTC
If you have buttons with short labels and a button with a long label, beyond a certain label length, the small buttons will "shrink" inside the buttonbox instead of properly using the available width homogeneously (as they used to do in GTK2).
Comment 1 Jean-François Fortin Tam 2012-08-27 06:37:02 UTC
Created attachment 222512 [details]
screencast
Comment 2 Jean-François Fortin Tam 2012-08-27 06:37:40 UTC
Created attachment 222513 [details]
glade3 file
Comment 3 Matthias Clasen 2013-02-03 22:33:05 UTC
this is intentional, to avoid having one 'outlier' overlong button making your dialog super-wide.

To cite the buttonbox docs: 

 * The main purpose of GtkButtonBox is to make sure the children have all the
 * same size. GtkButtonBox gives all children the same size, but it does allow
 * 'outliers' to keep their own larger size. To force all children to be
 * strictly the same size without exceptions, you can set the
 * #GtkButtonBox:homogeneous property to %TRUE.
Comment 4 Jean-François Fortin Tam 2013-11-03 20:13:23 UTC
Thanks for that pointer Matthias, finally got around to trying it out today and you are indeed correct. Moving the bug back to Pitivi and will make a fix there.
Comment 5 Jean-François Fortin Tam 2013-11-03 20:22:53 UTC
commit e33598c08e3f69f26319b03e0f849a1241e8cdd1
Author: Jean-François Fortin Tam <nekohayo@gmail.com>
Date:   Sun Nov 3 21:20:07 2013 +0100

  ui/startupwizard: Force ButtonBox items to have a homogeneous/uniform width
    
  Fixes bug #682766