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.
Create two Args projects. Invoke "Go to Function ot Variable". Type "printf". See two identical items in the list.
This occurs in the case there more than one projects that refer to the same artificial project (library). In this case, if user searches an element from the library, it is listed more than times.
There was a similar issue #116478; but this one isn't a dup - #116478 does not repeat, while this one does.
Created attachment 59364 [details] A patch tha fixes the issue
I fixed the issue, though did not pushed my changes. Please see the patch attached. I believe it is quite safe and should be applied in 6.1
I'd like to clarify: user will see as many printf items in the list, as many IDE projects are open at the moment.
Per email from Vladimir K.: "The fix is safe and not fixing it make this functionality look very ugly when multiple projects are open (Open Solaris is the case). In this case user will see as many identical items in the list, as many IDE projects are open at the moment. I tested my fix many times while preparing for an upcoming demo."
fixed in main trunk http://hg.netbeans.org/main/rev/a977c7e44891
fixed in release61 http://hg.netbeans.org/release61/rev/8f8f06cdf8cc
Verified in 6.1 branch. Build 200804032041