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

Bug 327637

Summary: [Tree] widgetDefaultSelected called on click with right mouse button
Product: [RT] RAP Reporter: Markus Krüger <webmaster>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: tbuschto
Version: 1.4   
Target Milestone: 1.4 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Krüger CLA 2010-10-13 05:02:00 EDT
Using CVS version of 13.10.2010 10:30.

In the controls demo you can see, that if you click an item in the tree and do a click with right mouse button directly afterwards to open menu, then it will fire widgetDefaultSelected. This is now pretty annoying as it opens editors now all the time this happens in our application.
Comment 1 Ivan Furnadjiev CLA 2010-10-13 08:46:45 EDT
I think that the reason for this behavior is Tree.js#_isDoubleClicked method which recognize left click + right click as double click.
Comment 2 Tim Buschtoens CLA 2010-10-14 08:29:11 EDT
Fixed in CVS HEAD.
Comment 3 Markus Krüger CLA 2010-10-15 08:00:29 EDT
I can verify that it now works as expected.