Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362513 - [Menu] Native and RAP menu can be open at the same time
Summary: [Menu] Native and RAP menu can be open at the same time
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-31 12:41 EDT by Tim Buschtoens CLA
Modified: 2011-10-31 13:42 EDT (History)
1 user (show)

See Also:


Attachments

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