Created attachment 581371 [details] screenshot showing where the UI says "loading" but never loads Description of problem: UI hangs during Create Group dialog ...3rd-level of nested menus (see screenshot) Version-Release number of selected component (if applicable): RHQ4.4 How reproducible: 100% Steps to Reproduce: 1. Create a group 2. in the Search criteria for "Type" ... get to the third-level of menu (see screenshot) 3. screen says "loading" ... but it never loads Actual results: screen says "loading" ... but it never loads Expected results: 3rd level of nested menu loads and is selectable as a search criteria Additional info: screenshot
FF10
maybe "hangs" isn't the right word ... it says "loading" and never displays the 3rd level of menu
per BZ triage ... crouch, loleary, foley
Per 3.1.2 triage with loleary, mfoley, ccrouch, asantos: Okay to move to JON 3.2.
the GUI component that this menu is is a SmartGGWT IPickTreeItem: http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/widgets/form/fields/IPickTreeItem.html and apparently, this is how it works. Its not hanging, there just isn't any real child menu items. We override the the setEmptyMenuMessage to "Loading..." for some unknown reason though... the default, as per the SmartGWT docs: http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/widgets/form/fields/PickTreeItem.html#setEmptyMenuMessage%28java.lang.String%29 is "No items to display" - maybe that would be better to show. Or maybe we think of something else to say other than "Loading..."
Looking at the items in here, I've come to the conclusion I don't like this menu :) Need to figure out a better way. The platforms are confusing in here - and why does Windows have children but the other platforms don't?
commit to master : e589245 this is a pita. I checked in something - it doesn't show "Loading..." anymore (the label is now "No items to display"). It also shows leaf nodes now for all types. HOWEVER, the platform plugin's platform types should have all the same children (the platform services). Instead, due to the way the type hierarchy works and the way we are loading the data, there is only one platform service type menu item (they aren't duplicated across all platform types in the menus). This means you'll see, say, the CPU item under Windows but not under anywhere else. You might see "File System" under, say, Linux but not under Windows or anything else. Its random and based on which type is loaded first. This is not trivial to fix. I spent alot of time trying to play around with things and couldn't get it to work (I even tried using GWT Menu objects rather than IPickTreeItem objects but ran into other problems that were worse. So, I will leave this open on the off-chance someone else wants to give this a try. At least I got it where now most types no longer show "Loading..." as a leaf node, so I got that going for me (that and total-consciousness, which is nice).
This was done in master some time ago, so moving to modified, as it will be in ER1
Version: 3.2.0.ER1 Build Number: 54dd29c:464a643 GWT Version: 2.5.0 SmartGWT Version: 3.0 As it's show "No Items to Display" on sub menus, I'm moving this to verified state. however on some situations this fix really not suites. I have cloned this issue to track new usability issue. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1011503