Bug 325826 - FilteredTree doesn't work proper without UICallBack
Summary: FilteredTree doesn't work proper without UICallBack
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: JFace (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 06:28 EDT by Holger Staudacher CLA
Modified: 2014-07-02 06:03 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 Holger Staudacher CLA 2010-09-21 06:28:13 EDT
The FilteredTree registers a ModifyListener on it's Text widget and schedules an asynchronous Job to update the tree. On RAP the filter applies to late (with the next request because of the asynchronous job). 

Workaround: Add a FocusListener to the Text widget and activate/deactivate the UICallBack on focusGained/Lost.

I think the FilteredTree should work out of the box.
Comment 1 Samy Abou-Shama CLA 2014-07-02 06:03:36 EDT
The Bug still exists in the RAP Version 2.3

Another Workaround is to override the getRefreshJobDelay() and return '0'