Bug 1518929 - Clicking any greyed out item from a dropdown will remove the sorting bar from the bottom
Summary: Clicking any greyed out item from a dropdown will remove the sorting bar from...
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: GA
: 5.10.0
Assignee: Martin Hradil
QA Contact: Dave Johnson
Depends On:
Blocks: 1519841
TreeView+ depends on / blocked
Reported: 2017-11-29 19:39 UTC by Ryan Spagnola
Modified: 2019-08-06 20:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1519841 (view as bug list)
Last Closed: 2018-06-21 20:42:58 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:

Attachments (Terms of Use)

Description Ryan Spagnola 2017-11-29 19:39:33 UTC
Description of problem:
This happens on any screen that has the sorting/page buttons at the bottom. Click a dropdown from the top (i.e. Configuration, Lifecycle, etc..) then click any greyed out selection option and the sorting bar at the bottom will disappear.

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 5 CFME Bot 2017-12-01 09:43:40 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

commit 45e916e5839d73bd9345391e4592efaaf7ccc978
Author:     Martin Hradil <mhradil@redhat.com>
AuthorDate: Thu Nov 30 16:33:32 2017 +0000
Commit:     Martin Hradil <mhradil@redhat.com>
CommitDate: Thu Nov 30 16:33:32 2017 +0000

    ToolbarController#setClickHandler - don't handle click for disabled toolbar items
    clicking on a disabled toolbar item doesn't really do anything in `miqToolbarOnClick`, but the `itemClicked` rx message still got sent, causing the paging toolbar to disappear (by calling `ReportDataController#setExtraClasses`).
    Changing to only send the event when a visible non-disabled button is clicked.

 .../javascripts/controllers/toolbar_controller.js  | 37 ++++++++++++----------
 1 file changed, 21 insertions(+), 16 deletions(-)

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