Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360748

Summary: Dojo Menu: User could not click Menu items in FF/Chrome for certain case
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: chenzhh, hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
RUI handler none

Description Thomas Wu CLA 2011-10-12 21:40:38 EDT
Build Identifier: 20111011

This could reproduce in my handler offerred in attatchment, and I have not found which property leads to such issue. User could not select any menu item in pull-down list because the pull-down list will dispare very quickly after user click the menu widget. It will occur in FF and Chrome, but works fine in IE and preview.

Reproducible: Always

Steps to Reproduce:
1. Copy the RUI handler from attatchment into a project.
2. Clean the compiling errors, and try to preivew in external browsers, such as FF/Chrome.

Actual results: User could not select any menu item in pull-down list because the pull-down list will dispare very quickly after user click the menu widget.
Comment 1 Thomas Wu CLA 2011-10-12 21:43:36 EDT
Created attachment 205073 [details]
RUI handler
Comment 2 Huang Ji Yong CLA 2011-10-13 05:07:51 EDT
The test case can be simplified to 
handler menu type RUIhandler{initialUI =[Menu
            ], onConstructionFunction = start, cssFile = "css/dojoTest.css", title = "menu"}

  
   Menu DojoMenu{ text = "Change Menu Name", children = [
		new DojoMenuItem {
			text = "Item 1, please set onClick", iconClass = "dijitEditorIcon dijitEditorIconCut"
		},
		new DojoMenuItem {
			text = "Item 2, please set iconClass", iconClass = "dijitEditorIcon dijitEditorIconCopy"
		},
		new DojoMenuItem {
			text = "The next item is a separator"
		},
		new DojoMenuItem { },
		new DojoMenuItem {
			text = "Item 3, this one is disabled", disabled = true
		}
	],
		id = "hello"};
    


    function start()
    end
end
Comment 3 Xiao Bin Chen CLA 2011-11-07 00:22:08 EST
Only occur when ID was set. Resolved.
Comment 4 Thomas Wu CLA 2011-11-10 22:14:38 EST
Verified in build 20111110