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

Bug 362513

Summary: [Menu] Native and RAP menu can be open at the same time
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2011-10-31 12:41:34 EDT
1. Open controls demo
2. Right-click on the textfield at the button
3. Native and custom menus both open at the same time
Comment 1 Tim Buschtoens CLA 2011-10-31 12:45:34 EDT
The implementation is supposed to allow native menus only when there is no RAP menu. The issue here is that the RAP menu exists, but belongs not to the Text but to its parent. So the Text opens the native menu, and its parent the RAP menu. The solution would be to prevent the dom event beeing processed if it opens a contextmenu.
Comment 2 Tim Buschtoens CLA 2011-10-31 13:42:38 EDT
Fixed in CVS HEAD, EventHandler.js