Bug 585292

Summary: Inconsistent node collapsing behavior of the resource and group tree
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: Core UIAssignee: Lukas Krejci <lkrejci>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: low Docs Contact:
Priority: low    
Version: 3.0.0CC: skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:58:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 577848    

Description Lukas Krejci 2010-04-23 15:49:46 UTC
Description of problem:

Changing focus to the parent node when closing it while some of its children are in focus doesn't work reliably. It is consistently broken in the group tree but I was able to reproduce it a couple of times in the resource tree as well.

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

as of commit 1baa393

How reproducible:

group tree - always
resource tree - rarely

Steps to Reproduce:
1. Select a node with content in the tree (i.e. a resource cluster in group tree or a resource or autogroup in the resource tree) that has "selectable" parent (for example Logging resource under a JVM resource under JBossAS)
2. Try to close the parent node (i.e. the JVM node in the example)
  
Actual results:

Group tree - the focus changes to the parent node but it stays open
Resource tree - usually works as expected but rarely exhibits the same behavior as group tree

Expected results:

The parent node should gain focus and be collapsed.
Additional info:

Comment 1 Lukas Krejci 2010-05-13 13:11:03 UTC
Fixed in commit 5680ddb.

The behaviour should now be consistent across the different trees.

Comment 2 Sunil Kondkar 2010-05-18 12:23:35 UTC
Verified on jon build #152 (Revision: 10620)

selected a node (Ex: logging resource under a JVM resource under JBossAS) and observed that on closing, the parent node(JVM) gets focus and collapsed.

Comment 3 Corey Welton 2010-08-12 16:58:38 UTC
Mass-closure of verified bugs against JON.