Bug 120421 - [Help] Search progress monitoring stays at 0%
Summary: [Help] Search progress monitoring stays at 0%
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Adam Archer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
: 140198 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-12 13:43 EST by Curtis d'Entremont CLA
Modified: 2007-06-11 11:04 EDT (History)
1 user (show)

See Also:


Attachments
Makes the dynamic search a system job (658 bytes, patch)
2007-02-20 16:45 EST, Adam Archer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis d'Entremont CLA 2005-12-12 13:43:55 EST
Start with a clean workspace, close the welcome and invoke context help (F1). You see the Help view appear and it starts doing a search in the background.

However, the progress monitoring for the job stays at 0% until it's done. The reason is that this job (search) depends on another job (indexing) that's also running in the background, but that you don't see until you open the progress view. I'm guessing there's a way to specify that the background job is actually part of the larger job, and that we could accurately reflect the progress here.
Comment 1 Curtis d'Entremont CLA 2006-05-05 13:22:48 EDT
*** Bug 140198 has been marked as a duplicate of this bug. ***
Comment 2 Curtis d'Entremont CLA 2007-02-19 21:06:44 EST
Adam to investigate.
Comment 3 Adam Archer CLA 2007-02-20 16:45:42 EST
Created attachment 59417 [details]
Makes the dynamic search a system job

Since the dynamic search is a simple index lookup it's duration will always be negligable. The bulk of the execution time comes from performing the indexing. The reason the indexing progress is not displayed is that its job is invoked after the search job.

Since the actual search time is negligable, its job has been made a system job. Thus, the UI will not display its progress and only the index progress will be shown to the user.
Comment 4 Curtis d'Entremont CLA 2007-02-21 11:28:06 EST
Patch applied.

While I was at it, I also changed the label from "Help Indexer" to "Indexing help..." to reflect what it's doing, as opposed to what it is.
Comment 5 Adam Archer CLA 2007-06-11 11:04:41 EDT
Verified in I20070608-1718.