GNOME Bugzilla – Bug 130288
Dropdown controls initial size too small, causes ugly resize
Last modified: 2005-07-19 19:11:52 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:
To demonstrate this, use the bug-buddy module. [Starts with 5 char width, goes to ~10 chars.] Marking this trivial, but it is ugly.