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 130288 - Dropdown controls initial size too small, causes ugly resize
Dropdown controls initial size too small, causes ugly resize
Status: RESOLVED FIXED
Product: bug-buddy
Classification: Deprecated
Component: general
2.5.x
Other Linux
: Normal trivial
: ---
Assigned To: Bug-buddy Maintainers
Bug-buddy Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-12-31 14:12 UTC by Robert Kemp
Modified: 2005-07-19 19:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Kemp 2003-12-31 14:12:57 UTC
Distribution: Red Hat Linux release 9 (Shrike)
Package: bug-buddy
Severity: minor
Version: GNOME
      2
   .
      5
   .
      2
    2.5.x
Gnome-Distributor: 
      GARNOME
   
Synopsis: Dropdown controls initial size too small
Bugzilla-Product: bug-buddy
Bugzilla-Component: general
Bugzilla-Version: 2.5.x
Description:
Description of Problem:
The initial size of the dropdown controls on the Select a Component
screen can be too small.  Selecting the dropdown causes the control size
to adjust to fit the length of the longest item in the list.

Steps to reproduce the problem:
1. Start the Bug Buddy application.
2. Create a new bug for the Bug Buddy application or another
product/application where the initial version number is shorter than the
longest value in the version dropdown.
3. Click forward to the Select a Component screen.
4. Notice the size of the Version and Severity dropdown controls.
5. Click the the Version and Severity dropdown controls.  They should
resize.

Actual Results:
It appears that the size of the dropdown controls are set to the width
of the initial/default value.  During my tests I noticed that an initial
version of unspecified made the dropdown box large enough, though that
is probably because most of the version numbers were shorter than
'unspecified'.  Selecting an application such as Bug Buddy defaulted to
2.5.x, and therefor the dropdown was not set to a width large enough to
hold the 2.0.x(GNOME1.x) value in the list.  Going back to the Select a
Product or Application screen, then forward to the Select a Component
screen resets the size of the Version dropdown, but not the Severity
dropdown.

Expected Results:
The dropdown controls should be created with a width equal to the
longest item in the list (or some max value).

How often does this happen?
Always.

Additional Information:
Comment 1 Luis Villa 2004-02-05 14:34:19 UTC
To demonstrate this, use the bug-buddy module. [Starts with 5 char
width, goes to ~10 chars.] Marking this trivial, but it is ugly.