Bug 1063313

Summary: product drop-down on job page is too narrow in Konqueror
Product: [Retired] Beaker Reporter: Karel Volný <kvolny>
Component: web UIAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 0.15CC: aigao, asaha, dcallagh, jingwang, llim, qwan, rmancy, xjia
Target Milestone: 0.15.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-18 01:38:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of the problem none

Description Karel Volný 2014-02-10 13:43:38 UTC
Created attachment 861391 [details]
screenshot of the problem

Description of problem:
please see the screenshot

Version-Release number of selected component (if applicable):
0.15.3

How reproducible:
always

Steps to Reproduce:
1. choose some job
2. set retention tag e.g. to audit

Actual results:
a wide window to choose product appears
the option list is so narrow that you don't see what product are you choosing
the rest of the window is just blank, space eating nothing

Expected results:
the option list is wide enough to accomodate even the longest product id
the popup window space is used efficiently

Additional info:
while at it, it is quite boring to scroll through kilometres long optionlist, it'd be nice to have it divided by categories and searchable

Comment 1 Karel Volný 2014-02-10 13:45:02 UTC
p.s. I forgot to mention that the product id doesn't fit and thus cannot be determined also in the job overview

Comment 3 xjia 2014-02-10 14:14:57 UTC
Could you tell me which browser you are using ?

Comment 4 Nick Coghlan 2014-02-11 00:59:55 UTC
I cannot reproduce this with Firefox 26 - both dropdown boxes are automatically resized to fit the largest product name for me.

Comment 6 Nick Coghlan 2014-02-11 03:01:26 UTC
I can confirm this is a problem when using Konqueror in Fedora 19 rather than Firefox - Konqueror doesn't autoexpand the dropdown on the combo box to fit the contents the way Firefox does.

For 0.15.4 we can adjust the width of the combo box itself so it better handles browsers that don't automatically adjust combo box dropdowns to fit their contents.

Comment 7 Dan Callaghan 2014-02-11 05:24:25 UTC
On Gerrit: http://gerrit.beaker-project.org/2796

Ultimately we need to stop laying this stuff out using tables and just jamming more stuff in there and hoping for the best. But this patch is a workable short-term solution.

Comment 9 wangjing 2014-02-13 06:43:43 UTC
verified on beaker-devel(Beaker 0.15.4.git.18.9a76e9d)-->pass

steps:
1. on Rhel6 Firefox, check if the width of product dropdown list can accomodate the longest product id on both the view job page and on the popup window-->pass.
2. on Fc19 Konqueror, check if the width of product dropdown list can accomodate the longest product id on both the view job page and on the popup window-->pass.

Comment 10 Dan Callaghan 2014-02-18 01:38:48 UTC
Beaker 0.15.4 has been released.