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 39188 - Suggestions "stick" after switching files
Summary: Suggestions "stick" after switching files
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-01-23 18:26 UTC by Jesse Glick
Modified: 2004-03-02 08:48 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 Jesse Glick 2004-01-23 18:26:13 UTC
If I open the suggestions window and go to a
source file with some PMD violations, it shows
them; fine. But when I switch to another source
file without any, even a text file, even if I
close the original source file, they stay in the
Suggestions window.

By contrast, source to-do comment markers in the
Suggestions window seem to switch with the active
document correctly.

Cannot compare to copyright or Javadoc suggestion
providers, since the current NBMs of these modules
on dev alpha AU are too old - someone forgot to
publish new versions of them. (Need impl==1 and
get impl 2 of tasklist/{api,core}.)

org.netbeans.tasklistapi/1 [1.6.2 2]
org.netbeans.modules.tasklist.core/2 [1.21.22 2]
org.netbeans.modules.tasklist.pmd/2 [1.6.221 1]
org.netbeans.modules.suggestions_framework/2
[1.1.223 3]
org.netbeans.modules.tasklist.docscan/2 [1.12.2233 3]
org.netbeans.modules.tasklist.javaparser/2 [1.3.222 2]
Comment 1 _ pkuzel 2004-01-23 20:32:20 UTC
PMD suggestion provider should get (and handle) clear(...) event.
Comment 2 _ pkuzel 2004-01-26 17:38:25 UTC
I cannot reproduce as you described. However I can observe something
that is probably the same bug. 

While fast switching among files some suggestions stick or even
duplicate. It covers all suggestion types except copyright one.
The same applies to TODO view.
Comment 3 _ pkuzel 2004-01-27 17:41:20 UTC
SuggestionManagerImpl:575
Comment 4 _ pkuzel 2004-01-27 18:32:22 UTC
fixed
Comment 5 Milan Kubec 2004-03-02 08:48:02 UTC
Please, reporter, could you verify fixed issues. Thanks a lot.