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

Bug 326433

Summary: [Tree] Right click clears multiple selection depending on timing
Product: [RT] RAP Reporter: Austin Riddle <austin.riddle>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: tbuschto
Version: 1.4   
Target Milestone: 1.4 M3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 320597    
Attachments:
Description Flags
Sample project illustrating problem none

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?