Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326433 - [Tree] Right click clears multiple selection depending on timing
Summary: [Tree] Right click clears multiple selection depending on timing
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 1.4 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 320597
  Show dependency tree
 
Reported: 2010-09-28 11:46 EDT by Austin Riddle CLA
Modified: 2010-10-11 12:31 EDT (History)
1 user (show)

See Also:


Attachments
Sample project illustrating problem (468.31 KB, application/x-zip-compressed)
2010-09-28 11:46 EDT, Austin Riddle CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Riddle CLA 2010-09-28 11:46:59 EDT
Created attachment 179762 [details]
Sample project illustrating problem

Version: 1.4 M1


Steps to reproduce:

1. Create a tree with multiple items
2. Register a context-menu action
3. Select multiple items (using shift key)
4. Wait a few seconds and right click to show context menu.

Observe that the selection has been reset to only include the item that was right clicked on.

If you repeat the same process, but right click quickly after the multi-select, or even continue to hold down the shift key while right clicking, the selection will remain.

So it seems like once the shift key release is processed, the selection will break for right click.

Please see the sample project for quick reproducing, but it is always reproducible in any tree.
Comment 1 Ivan Furnadjiev CLA 2010-10-07 04:53:29 EDT
This is reproducible with Controls Demo - Tree Tab. Works fine in Table.
Comment 2 Tim Buschtoens CLA 2010-10-11 11:30:51 EDT
Fixed in CVS HEAD.
Comment 3 Austin Riddle CLA 2010-10-11 12:31:23 EDT
(In reply to comment #2)
> Fixed in CVS HEAD.

Can you tell me what files changed?