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 529452 - several modes don't respect --width and --height
several modes don't respect --width and --height
Status: RESOLVED FIXED
Product: zenity
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-22 22:37 UTC by Matthias Clasen
Modified: 2008-05-31 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2008-04-22 22:37:14 UTC
First filed here: https://bugzilla.redhat.com/show_bug.cgi?id=277911

several zenity modes don't respect --width and --height.  The problem is pretty
simple, in /usr/share/zenity/zenity.glade, the widgets/windows for the modes
have resizable=False, when it should be True, such that the C-code changing the
size actually has an effect.  For example-

<widget class="GtkDialog" id="zenity_question_dialog">
  <property name="border_width">5</property>
  <property name="title" translatable="yes">Question</property>
  <property name="type">GTK_WINDOW_TOPLEVEL</property>
  <property name="window_position">GTK_WIN_POS_CENTER</property>
  <property name="modal">False</property>
  <property name="resizable">False</property>
                             ^^^^^

If you change that to True, then "zenity --question --width=640 --height=480"
will work as it should.  There a few others with the same bug, just search for
resizable in the .glade file.
Comment 1 Lucas Rocha 2008-05-31 13:55:03 UTC
Fixed in gnome-2-22 and trunk. Thanks!