Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 377188 - AbstractTree: filtered tree does not handle single selection the correct way
Summary: AbstractTree: filtered tree does not handle single selection the correct way
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-19 09:47 EDT by Christoph Thommen CLA
Modified: 2021-08-19 11:15 EDT (History)
0 users

See Also:


Attachments
possible patch (1.77 KB, patch)
2012-04-19 09:48 EDT, Christoph Thommen CLA
andi.bur: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Thommen CLA 2012-04-19 09:47:54 EDT
When appending a NodeFilter to a single selection only AbstractTree object (!isMultiSelect()), single selection is not handled correctly in setNodesSelectedFromUI.

E.g.: when selecting a node, appending the filter (so that the selected not is not visible anymore) and trying to select an other node, the tree value is not updated correctly.

possible patch see attached
Comment 1 Christoph Thommen CLA 2012-04-19 09:48:24 EDT
Created attachment 214243 [details]
possible patch
Comment 2 Andi Bur CLA 2012-04-20 10:25:43 EDT
Christoph, thank you for your patch.
reviewed and applied.
Comment 3 Matthias Zimmermann CLA 2013-07-08 17:36:48 EDT
Bugfixes shipped on Scout 3.7 branch