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 61302 - CC doesn't go away sometimes
Summary: CC doesn't go away sometimes
Status: RESOLVED DUPLICATE of bug 63637
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 17:53 UTC by athompson
Modified: 2007-11-05 13:38 UTC (History)
0 users

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 athompson 2005-07-22 17:53:30 UTC
jdk 1.5
linux
daily 21 july 2005

enter this code:

public void subscribe(Object source, Class listenerInterface, Object listener)
throws IllegalArgumentException {
  synchronized (eventSources) {
    Map listenerInterfaces = (Map)eventSources.get(source);
    if (listenerIn|)
  }
}

the cursor is on the line with the 'if' statement, indicated by the '|'.

invoking CC here (ctrl-space) shows what it should, but if you select
'listenerInterfaces' and press ENTER, the CC box doesn't go away. the box does
narrow down to just the 'listenerInterfaces' entry, but it takes a second ENTER
to make it go away.
Comment 1 Roman Strobl 2005-07-25 10:08:00 UTC
I am not able to reproduce the issue on 200507191800 with WinXP and 1.5.0_04.
One enter is enough for the code completion to get closed. Are you able to
reproduce it on latest daily build? Thanks!
Comment 2 athompson 2005-07-25 12:05:01 UTC
still happens. i haven't done an exhaustive test, but it's probably has to do
with one word being the root of another word, such as 'listenerInterface' and
'listenerInterfaces'. the code that inserts common roots may be to blame. is
there any way to turn it off?
Comment 3 Jan Pokorsky 2005-09-08 14:55:36 UTC
It is reproducible. Most likely duplicate of issue #63637.

*** This issue has been marked as a duplicate of 63637 ***