This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 192396 - ComponentPeer.getDictionary blocks code completion for 25sec
Summary: ComponentPeer.getDictionary blocks code completion for 25sec
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks: 191509
  Show dependency tree
 
Reported: 2010-11-24 11:59 UTC by Vladimir Voskresensky
Modified: 2010-11-25 06:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-11-24 11:59:26 UTC
our Code Completion responsiveness automatic tests regularly fails by timeout.
Snapshot shows wait in spellchecker
http://statistics.netbeans.org/analytics/exception.do?id=443106

Thanks,
Vladimir.
Comment 1 soldatov 2010-11-24 12:08:34 UTC
Scenario on my linux machine:
- NetBeans nightly with Java and C/C++
- Start NetBeans
- Create C/C++ Application project
- Open main.cpp file
- Type _ at 16th line (in main() function)
- Press Ctrl-space
===> I need to wait Code Completion for ~26 seconds
In second time CC works very quickly
Comment 2 Jan Lahoda 2010-11-24 14:33:21 UTC
http://hg.netbeans.org/jet-main/rev/96a995751d9c
Comment 3 Quality Engineering 2010-11-25 06:19:03 UTC
Integrated into 'main-golden', will be available in build *201011250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/96a995751d9c
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #192396: ensuring code completion will not wait for dictionary construction unless really necessary.