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 25323 - [completion]Dispearing code completion
Summary: [completion]Dispearing code completion
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 25602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-02 14:29 UTC by Jan Lahoda
Modified: 2007-11-05 13:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Completion.java (3.69 KB, patch)
2002-07-10 13:03 UTC, Jan Kovar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2002-07-02 14:29:08 UTC
200207020100, JDK1.4.0_01 (b03), MDI.
Sometimes, while writting the code, the code
completion view just disappears. It is strongly
dependent on the timing, but it is possible to
simply reproduce it if you know how.
Try these steps:
1. Clean IDE (new userdir).
2. Open a java editor (for example ClockFrame in
editing mode).
3. Into a method, try to write "String.err".
4. Press '.'.
5. Wait for code completion.
6. Now, write "println", and try to press keys as
fast, as you can. Or, make a delay (~1sec) between
key-presses. It sometimes happens, that the code
completion just disappears.
7. This does not happen when you type, remove all
you have written (".println") and go back to step 4.

It seems to me, that the problem happens if the
key is pressed during code completion
re-evaluation. The code completion is closed after
that.
Comment 1 Jan Kovar 2002-07-10 13:00:39 UTC
Proposed diff below
Comment 2 Jan Kovar 2002-07-10 13:03:00 UTC
Created attachment 6605 [details]
Completion.java
Comment 3 Miloslav Metelka 2002-07-15 12:02:47 UTC
*** Issue 25602 has been marked as a duplicate of this issue. ***
Comment 4 Martin Roskanin 2002-07-19 14:44:12 UTC
fixed in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/ext/Completion.java,v  <-- 
Completion.java
new revision: 1.20; previous revision: 1.19

Honza, thanks for your patch. Mato
Comment 5 Jan Lahoda 2002-10-18 12:56:53 UTC
Hi,
    I am not able to reproduce the problem on 200210160100.
Verified.
Comment 6 Jaroslav Tulach 2002-12-03 09:53:34 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 7 Martin Roskanin 2002-12-03 14:21:13 UTC
integrated into [release341]

/cvs/editor/libsrc/org/netbeans/editor/ext/Completion.java,v  <-- 
Completion.java
new revision: 1.19.24.2; previous revision: 1.19.24.1
Comment 8 Quality Engineering 2003-06-30 18:13:19 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.