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.
[ BUILD # : 201109180600 ] [ JDK VERSION : 1.6.27 ] The usages window is not updated when there are no usages found for a class. The previous result keeps being displayed. 0 occurrences is also a result and should be displayed as such. steps to reproduce: - create a java application. - create 3 classes, A B and C. - In class C create a reference to B (something like private B b;) - goto class B and find usages, scope open projects result: "Usages of class B [1 occurrence] - goto class A and find usages, scope open projects expected result:"Usages of class A [0 occurrence] Actual result: "Usages of class B [1 occurrence]
reproducible, but I've got dialog saying 'No patterns found'
in build 201109202329 Indeed a popup is shown. I am not a big fan of popup's to notify the user, but I guess that is a matter of taste. In 7.0.1 a new "find usages" search would open a new Usages tab. In case of no usages found it would display "Usages of class A[0 occurrences]"
Created attachment 111036 [details] 7.0.1 implementation of 0 occurences found
If there are no usages, I think there is no reason to show empty results...
Was there a reason to change to 7.0(.1) behavior into an intrusive popup? changed issue into an RFE since its not accepted as functional regression.
popup was used instead of useless empty window.