Bug 1373327 - Current selected product not shown in selector
Summary: Current selected product not shown in selector
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 5.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-06 02:37 UTC by Rony Gong 🔥
Modified: 2018-12-09 06:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1272818
Environment:
Last Closed: 2016-09-25 21:48:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Rony Gong 🔥 2016-09-06 02:37:55 UTC
+++ This bug was initially created as a clone of Bug #1272818 +++

Description of problem:
In show_bug.cgi, if you open the Product selector, the current product is shown at the top of the list rather than in its correct position within the list.

This makes it unnecessarily time-consuming to move a bug between similarly-named products.

Say I want to move a bug from Red Hat Enterprise Linux 6 to Red Hat Enterprise Linux 7 -- a common use-case for RHEL PM's and engineers.  When I open the product list, Red Hat Enterprise 6 is the first item in the list and I have to scroll down most of the list to select Red Hat Enterprise Linux 7.

If the product list opened with the current product shown in the correct position in the list, moving a bug between products would be significantly faster.

If you use Teiid to query the bug histories, you'll find that most times a bug is moved to a different product, the product names are very close to each other in the product list, e.g. between RHEL versions, between JBoss products or between oVirt products.

The same is mostly true when moving a bug between components, as the component lists for products like RHEL have many groups of components with common prefixes (e.g. gnome-*, kde-*, etc) and misfiled bugs usually at least land somewhere in the right group.

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

How reproducible:
Always

Steps to Reproduce:
1. Open a bug in Red Hat Enterprise Linux 6.
2. Click on the Product list to open it.

Actual results:
Red Hat Enterprise Linux 6 is at the top of the list, while Red Hat Enterprise Linux 7 is about halfway down the list.

Expected results:
Red Hat Enterprise Linux 6 and 7 are adjacent in the Product list.

Additional info:
none

--- Additional comment from Jeff Fearn on 2015-10-19 10:45:58 CST ---

This will require changes that should be up-streamed.

--- Additional comment from Jason McDonald on 2015-10-19 11:23:29 CST ---

No, this should be fixed for 4.4. It is a direct consequence of the recent BZ upgrade and is causing our users significant frustration.

--- Additional comment from Jeff Fearn on 2015-10-19 14:51:38 CST ---

(In reply to Jason McDonald from comment #0)
> Say I want to move a bug from Red Hat Enterprise Linux 6 to Red Hat
> Enterprise Linux 7 -- a common use-case for RHEL PM's and engineers.  When I
> open the product list, Red Hat Enterprise 6 is the first item in the list
> and I have to scroll down most of the list to select Red Hat Enterprise
> Linux 7.

A RHEL specific work around for this is to tab in to the field and type:

<BACKSPACE>x 7<ENTER>

--- Additional comment from June Zhang on 2015-10-19 16:34:00 CST ---

Attached a expected design sketch for it.
http://file.rdu.redhat.com/junzhang/bugzilla/bugzilla_ux_1.png


(In reply to Jason McDonald from comment #0)
> Description of problem:
> In show_bug.cgi, if you open the Product selector, the current product is
> shown at the top of the list rather than in its correct position within the
> list.
> 
> This makes it unnecessarily time-consuming to move a bug between
> similarly-named products.
> 
> Say I want to move a bug from Red Hat Enterprise Linux 6 to Red Hat
> Enterprise Linux 7 -- a common use-case for RHEL PM's and engineers.  When I
> open the product list, Red Hat Enterprise 6 is the first item in the list
> and I have to scroll down most of the list to select Red Hat Enterprise
> Linux 7.
> 
> If the product list opened with the current product shown in the correct
> position in the list, moving a bug between products would be significantly
> faster.
> 
> If you use Teiid to query the bug histories, you'll find that most times a
> bug is moved to a different product, the product names are very close to
> each other in the product list, e.g. between RHEL versions, between JBoss
> products or between oVirt products.
> 
> The same is mostly true when moving a bug between components, as the
> component lists for products like RHEL have many groups of components with
> common prefixes (e.g. gnome-*, kde-*, etc) and misfiled bugs usually at
> least land somewhere in the right group.
> 
> Version-Release number of selected component (if applicable):
> 4.4.9039
> 
> How reproducible:
> Always
> 
> Steps to Reproduce:
> 1. Open a bug in Red Hat Enterprise Linux 6.
> 2. Click on the Product list to open it.
> 
> Actual results:
> Red Hat Enterprise Linux 6 is at the top of the list, while Red Hat
> Enterprise Linux 7 is about halfway down the list.
> 
> Expected results:
> Red Hat Enterprise Linux 6 and 7 are adjacent in the Product list.
> 
> Additional info:
> none

--- Additional comment from Rony Gong on 2015-10-29 10:45:17 CST ---

Tested on 
QA environment(bzperfweb01.app.qa) with version(4.4.10043-2, DB: psql)
Result: Pass
Steps:
1. Open a bug in Red Hat Enterprise Linux 6.
2. Click on the Product list to open it.
==>Red Hat Enterprise Linux 6 and 7 are adjacent in the Product list.
3. Also checked the components

--- Additional comment from Matt Tyson on 2015-12-16 10:13:58 CST ---

This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.

Comment 1 Jeff Fearn 🐞 2016-09-06 02:46:47 UTC
This is not a clone of the other bug and the behavior is not as described.

The actual issue here is that the current selected product is not shown in the drop down. None of the other selectors are affected.

Comment 2 Rony Gong 🔥 2016-09-12 03:36:26 UTC
Tested on QA environment(5.0.3-rh5)
Result: Pass


Note You need to log in before you can comment on or make changes to this bug.