| Summary: | 'Open Type' does not indicate that it is indexing. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> | ||||
| Component: | UI | Assignee: | Krzysztof Michalski <krzysztof.michalski> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | markus.kell.r | ||||
| Version: | 3.3 | ||||||
| Target Milestone: | 3.3 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 172883 | ||||||
| Attachments: |
|
||||||
|
Description
Dani Megert
Krzysztof, can you please look into this for M5? Krzysztof what is the status of this? Steps in HEAD: - new workspace - disable autobuild - open Progress view and enable "Show sleeping and system operations" - import org.eclipse.jdt.ui and all required plug-ins as source - in Package Explorer, select first source folder - open New Class wizard - press Supertype > Browse (Alt+e) - type "A" => For a long time, the progress message is just "Searching (0%)". The old Open Type dialog showed a separate progress dialog to indicate indexing progress. The new way of doing the indexing inside the dialog is superior, since it allows the user to enter a type name immediately after opening the dialog (cf. bug 96077). However, the progress message should still be the same as before while the indexing takes place (since this can be a long running operation in big workspaces, and the user might want to cancel and use other means to open the editor). Created attachment 60055 [details]
Proposition of changes
I added necessary parts of code.
Released the patch to HEAD. The patch just copies TypeSelectionDialog2.ensureConsistency() to FilteredTypesSelectionDialog (with a slight change that revealed bug 176017). This probably also fixes problems with outdated history items. I've reopened bug 96077 for the extra progress dialog. Verified in I20070320-0010. |