Bug 178256 - [Dialogs] FilteredItemsSelectionDialog should delay progress info
Summary: [Dialogs] FilteredItemsSelectionDialog should delay progress info
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC2   Edit
Assignee: Krzysztof Michalski CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on: 182917
Blocks:
  Show dependency tree
 
Reported: 2007-03-20 09:45 EDT by Dani Megert CLA
Modified: 2007-06-22 07:55 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2007-03-20 09:45:49 EDT
I20070320-0010.

When typing in the Open Type (or Open Resource) the progress label is updated immediately which the user sees as flickering. The progress info can't be read anyway hence it should be delayed.

Test Case:
1. add two Java projects each with a different JDK version
2. Ctrl+Shift+T
3. enter Array
4. quickly delete some chars and retype them
==> flickering of the progress label in the upper right corner

This didn't happen when using the old JDT Open Type dialog implementation.
Comment 1 Krzysztof Michalski CLA 2007-05-15 11:00:51 EDT
Why do you think that it should be delayed. Searching in cache is very fast that why the progress label flickering. In the old one JDT Open Type dialog implementation as i see we don't have progress message during filtering cache.
Comment 2 Dani Megert CLA 2007-05-15 11:02:03 EDT
Because it flickers like hell.
Comment 3 Krzysztof Michalski CLA 2007-05-15 11:33:29 EDT
Ok, I will change a behavior of Progress. Progress will be updates by throttling the RefreshCacheJob to run only every 200ms as Markus suggested in bug 182917.
Comment 4 Markus Keller CLA 2007-05-24 14:15:18 EDT
Fixed in HEAD with patch from bug 182917 comment 13.