Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360748 - Dojo Menu: User could not click Menu items in FF/Chrome for certain case
Summary: Dojo Menu: User could not click Menu items in FF/Chrome for certain case
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 21:40 EDT by Thomas Wu CLA
Modified: 2017-02-23 14:16 EST (History)
2 users (show)

See Also:


Attachments
RUI handler (1.97 KB, application/octet-stream)
2011-10-12 21:43 EDT, Thomas Wu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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