Bug 1011592

Summary: Search bar placed over the main menu on navigating to Connection Settings tab of a compatible group
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: UIAssignee: Mike Thompson <mithomps>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: urgent    
Version: JON 3.2CC: ahovsepy, jshaughn, mithomps
Target Milestone: ER05   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 20:34:53 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
none
agent-comp-group none

Description Sunil Kondkar 2013-09-24 15:12:35 UTC
Description of problem:

On navigating to Connection Settings tab of a compatible group, the Search bar is displayed placed over the main menu. The search bar won't go away on navigating to other tabs/subtabs.

On doing F5 refresh, it goes away but if navigated again, it displays the search bar again over main menu.

Please find attached the screenshot on FF 10.0.2.

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

JBoss ON Version: 3.2.0.ER1
Build Number: 54dd29c:464a643

Browsers:
FF 10.0.2 and IE 9

How reproducible:

Always

Steps to Reproduce:

1. Create a compatible group of resources having connection settings tab ( Ex: 2. Platform or RHQ Agent )
3. Navigating to the compatible group
4. Click on Connection Settings tab

Actual results:

Search bar placed over the main menu on navigating to Connection Settings tab of a compatible group

Expected results:

Search bar should not be displayed on Connection Settings tab of a compatible group.

Additional info:

Comment 1 Sunil Kondkar 2013-09-24 15:13:20 UTC
Created attachment 802300 [details]
Screenshot

Comment 2 Jay Shaughnessy 2013-11-01 17:57:25 UTC
After working with Mike, here is our fix:

release/jon3.2.x commit b43b869329cf61b7fe48766f71b2226b24043254
Author: Jay Shaughnessy <jshaughn>
Date:   Fri Nov 1 13:25:15 2013 -0400

    Fix an issue with the destroy() impl of EnhancedSearchBar.  But the main fix
    is to SubTabLayout.destroyViews().  When destroying the subtab views for
    a tab, make sure to set the currently displayed subtab to null. Previously is
    looked like we were still diasplaying a canvas, and subsequent calls, such as
    to hide(), would force the canvas to be created, only to be able to hide it.

cherry-pick master: c140ad7fd114ddeb5cd7a2b7df748fd30009bf1b

Comment 3 Simeon Pinder 2013-11-07 02:18:17 UTC
Moving to ON_QA for test with new brew build.

Comment 4 Armine Hovsepyan 2013-11-07 13:48:18 UTC
verified in ER5
screenshot attached

thank you

Comment 5 Armine Hovsepyan 2013-11-07 13:48:42 UTC
Created attachment 821140 [details]
agent-comp-group