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.
NB4.1(200503242007), JDK1.5.0_02, Linux RH9/Gnome Steps to reproduce: - run IDE - create new project - invoke popup menu on Project node in Projects View -> Find menu item is disabled !!! If works do next: - invoke Find , write something to find "xxx" - push Ok - invoke popup menu on project node in Projects View -> Find menu item s disabled I know, you can enable this action just by selecting another node and back to project node, but it's annoying and if I can remember it's regression.
Yes, it is a regression. It must have appeared quite recently. Confirmed, accepted.
Fixed in the trunk. I changed the mechanism of enabling and disabling the Find action. Before the change, it was done by setting/unsetting SearchPerformer of the system Find action. Now the newer, recommended mechanism is used - by adding an entry in a TopComponent's ActionMap. The entry maps the system Find action's key to the Find action implementation in the Utilities module. ActionMap is modified for each TopComponent where this implementation of Find should work, i.e. in all TopComponent except the editor. Modified files: utilities/src/org/netbeans/modules/search/: Bundle.properties (1.31) SearchPerformer.java (1.37) FindActionManager.java (1.6) Installer.java (1.31) utilities/project/src/org/netbeans/modules/search/project/: ProjectsSearchAction.java (1.7) Diffs: http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/Bundle.properties?r1=1.30&r2=1.31&diff_format=u http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/SearchPerformer.java?r1=1.36&r2=1.37&diff_format=u http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/FindActionManager.java?r1=1.5&r2=1.6&diff_format=u http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/Installer.java?r1=1.30&r2=1.31&diff_format=u http://utilities.netbeans.org/source/browse/utilities/project/src/org/netbeans/modules/search/project/ProjectsSearchAction.java?r1=1.6&r2=1.7&diff_format=u
verified in NB4.1(200503291800)