Summary: | [content assist] UI hangs in Code assist while showing additional info | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Dirk Baeumer <dirk_baeumer> |
Component: | Text | Assignee: | Tom Hofmann <eclipse> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P1 | CC: | eclipse, neil.greenwood.lists, p, schallerbe, sgandon |
Version: | 3.2 | ||
Target Milestone: | 3.2 RC2 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | 129175, 136648 | ||
Bug Blocks: |
Description
Dirk Baeumer
2006-02-23 10:29:47 EST
The UI hangs sometime between 1 - 2 secs. Its definitelly longer than the timeout specified in the preferences. Tom requested to file the bug first against JDT/Text ;-). Really 2 bugs here 1) we compute the additional info in the UI thread (bad) 2) the JAR contains a Javadoc URL even though there is no Javadoc for that JAR ==> filed bug 129175. Note that the timeout does not apply here: it is solely for getting the parameter names and not for getting the Javadoc. We have to be careful when fixing this - ICompletionProposal::getAdditionalProposalInfo does not spec that it may be called from a non-UI thread and never was so far. If pushing the computation into a another thread is not possible, we may have to add a new API that specs the concurrent access... Fixed > 20060413 by pushing computation into the background for ICompletionProposalExtension5 implementations. See bub 136648 for the added API. *** Bug 137192 has been marked as a duplicate of this bug. *** *** Bug 138569 has been marked as a duplicate of this bug. *** verified in 20060426 *** Bug 133348 has been marked as a duplicate of this bug. *** |