Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327637 - [Tree] widgetDefaultSelected called on click with right mouse button
Summary: [Tree] widgetDefaultSelected called on click with right mouse button
Status: VERIFIED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 1.4 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 05:02 EDT by Markus Krüger CLA
Modified: 2010-10-15 08:00 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 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.