Bug 585292 - Inconsistent node collapsing behavior of the resource and group tree
Summary: Inconsistent node collapsing behavior of the resource and group tree
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 3.0.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Lukas Krejci
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: jon24-naming
TreeView+ depends on / blocked
 
Reported: 2010-04-23 15:49 UTC by Lukas Krejci
Modified: 2010-08-12 16:58 UTC (History)
1 user (show)

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-08-12 16:58:38 UTC
Embargoed:


Attachments (Terms of Use)

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.


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