Re: no suggestions after view reopened

Tor Norbye <[email protected]> Sat, 12 Jul 2003 20:00:01 -0700
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <[email protected]>
Tor Norbye wrote:
> andrew wrote:
> 
>>Hi!
>>
>>I have noticed this behaviour:
>>
>>1. open two java files "with PMD suggestions",
>>2. open Suggestions view,
>>3. switch between the files => the view shows appropriate
>>    suggetsions lists tracking file switching,
>>4. close and open the view => list(s) are empty <----------- ???
>>
>>Where am I wrong? -
>>
>>I use NB from current CVS dev. trunk, the only available PMD
>>module for NB (1.05) from sf.net, own appropriate build.properties file
>>in tasklist/pmd dir. Env: j2se 1.4.1/2, win32/rh9
> 
> 
> Thanks! I can reproduce the problem. I'll take a look. It sounds similar
> to issue 34894, which I'll also investigate while I'm at.

Yes, this is in fact identical to part #2 of issue 34894.
I just committed a fix for that - get tasklist/suggestions version 1.12
(trunk and dev35 branch). I also included an improvement which avoids
double-scanning the first time the IDE starts up when the suggestions
view is visible.  Part #1 of issue 34894 is also partially fixed now
in tasklist/core version 1.12.

Please let me know if you see any other problems in this area.
It's using multi threading (so you can keep editing while scanning
is in progress), timers, and some code for coalescing multiple scan
request events, so the code is pretty sensitive to changes :)

-- Tor