Bug 857539

Summary: Clicking the "contract" arrow in the org selector on the main UI does not contract the picker
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Pavel Pokorny <ppokorny>
Status: CLOSED ERRATA QA Contact: Corey Welton <cwelton>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bkearney, dmacpher, dmitri, inecas, mmccune, omaciel, ppokorny, sachua
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The organization dropdown menu failed to contract when a user clicked the "up" arrow. This update contracts the picker and the menu now contracts upon clicking the "up" arrow.
Story Points: ---
Clone Of: Environment:
CloudForms System Engine Version: 1.1.12-6.el6cf
Last Closed: 2012-12-04 19:52:57 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:

Description Corey Welton 2012-09-14 19:06:23 UTC
Description of problem:
When a user clicks the "down" arrow to expand the org picker in the main UI, it expands as expected. However, clicking the subsequent "up" arrow does not cause it to contract.

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


How reproducible:


Steps to Reproduce:
1.  Create an organization
2.  Login as admin
3.  Anywhere on the main UI (Dashboard, for example), click the down arrow in the org picker; note that the element expands.
4.  Click on the resulting up arrow that appears when the element is expanded.
5. View results
  
Actual results:
The picker contracts temporarily but reopens.

Expected results:
Picker should stay closed.

Additional info:
Same behavior occurs on FF and Chrome

Comment 1 Corey Welton 2012-09-14 19:11:56 UTC
A similar thing occurs in the Administer dropdown.  However, this element auto-expands upon hover. When moving mouse atop the arrow, it flips, but clicking it doesn't do anything.

May be a separate bug - let me know, if they can be fixed in the same manner, go ahead and do both, or I can write up a new bz

Comment 2 Pavel Pokorny 2012-09-20 10:14:03 UTC
I fixed the org selector [1].

But I am not sure about expected behaviour for Administer dropdown. It seems to me that it would be useless to make the arrow 'clickable'. It should stay hover-only. For me it sounds reasonable to disable the arrow flipping in this case.

[1] https://github.com/Katello/katello/pull/719

Comment 3 Pavel Pokorny 2012-09-24 14:03:25 UTC
Fixed in 0953ac4

Comment 4 Pavel Pokorny 2012-09-24 14:06:33 UTC
@cwelton please create separate BZ for the Administer dropdown.

Comment 5 Dmitri Dolguikh 2012-09-27 12:47:19 UTC
changing status to 'on_qa'

Comment 9 Corey Welton 2012-10-03 18:44:58 UTC
QE Verified.

CloudForms System Engine Version: 1.1.12-12.el6cf

Comment 11 errata-xmlrpc 2012-12-04 19:52:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html