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.
040803 custom, 1.5.0 b60, Ocean. When I invoke Java code completion and get the popup Javadoc, approximately every second the selection of member in the popup list is reset to the first item, and the popup Javadoc is reset to the Javadoc for the first item (flashing in case it was already on the first item). For example, if I type return System.i ^ +- CARET HERE and press Ctrl-SPACE, I get "in" and "identityHashCode" in the list as expected. Popup Javadoc for "in" is displayed and flashes once a second. If I press Down or Page Down, I very briefly see Javadoc for identityHashCode(), but it almost immediately resets to that for System.in. Makes code completion unusable. Observed for the first time in this build, I think.
Thread dumps and stack traces reveal that JavaEditor.JavaEditorComponent.selectElementsAtOffset is being called once a second or so by timerSelNodes, whether code completion is being shown or not. caretListener is being called repeatedly too. Some sort of feedback loop with UndoAction - only happens after doc is modified. Looks like BaseCaret is for some reason firing caret changes when none have in fact occurred.
Created attachment 16632 [details] Some informative stack traces
fixed in [maintrunk] /cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v <-- BaseCaret.java new revision: 1.102; previous revision: 1.101
Verified in 200507131800.