Bug 210094 - Creating type hierarchy does not report progress
Summary: Creating type hierarchy does not report progress
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-16 08:02 EST by Dani Megert CLA
Modified: 2007-12-12 08:37 EST (History)
3 users (show)

See Also:


Attachments
Proposed fix and regression test (9.90 KB, patch)
2007-12-05 03:17 EST, Jerome Lanneluc CLA
no flags Details | Diff
Same fix and improved test (9.89 KB, patch)
2007-12-05 04:45 EST, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2007-11-16 08:02:20 EST
I20071113-0800.

1. create a workspace with many projects (in my case its more than 150 projects) 
   but you can see it by e.g. checking out the 'platform-ui', 'platform-text' and 
   'jdt' modules from CVS
2. exit
3. delete the JDT Core search index
4. start
5. open type hierarchy on any type
==> you wait without getting any progress that indexing is going on. In the case of the CVS example it takes minutes. In my workspace it takes over 10 minutes (here are about 290 index files).

I verified that we pass in the progress monitor.
Comment 1 Jerome Lanneluc CLA 2007-12-05 03:17:57 EST
Created attachment 84493 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2007-12-05 04:45:54 EST
Created attachment 84504 [details]
Same fix and improved test
Comment 3 Jerome Lanneluc CLA 2007-12-05 06:00:48 EST
Fix and test released for 3.4M4
Comment 4 Maxime Daniel CLA 2007-12-12 05:48:52 EST
The behavior observed with I20071211-0010 is better, in that a message in the left hand, bottom part of the workbench reports how many files remain to be indexed. The progress bar remains gray though (more precisely, in the right hand, bottom part, we get a red square next to an empty progress bar). Is this the expected behavior?
Comment 5 Jerome Lanneluc CLA 2007-12-12 06:13:33 EST
Yes, this is the expected behavior. We don't know how many files are going to be indexed (for example, the indexing of a jar file triggers the indexing of all the .class files).
Comment 6 Maxime Daniel CLA 2007-12-12 08:37:45 EST
Verified for 3.4 M4 using build I20071211-0010 then.