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.
In a previously completed bugfix [1], the behavior of editor's Ctrl+F search was brought closer to that of common web browsers. As of NetBeans IDE 7.2 RC1 (Build 201206272359), one detail is still inconsistent with the browsers, however. Here's how to reproduce it: If the "Find" box in the search bar contains a search term, and the user presses escape to close the search bar, and then presses Ctrl+F to open it again, a search will actually be made immediately as Ctrl+F is pressed, possibly scrolling the editor viewport. In Chrome, Firefox, and Internet Explorer, pressing Ctrl+F will do nothing else than actually make the search bar visible; the user has to press enter to make an actual search. User bht comments: "Perhaps you want to file a bug for this. The browser bahaviour you describe is probably more correct. To describe this one could say to execute a search, an event is required. With a new search, the event is the typing. The opening of a seach bar cannot be seen as an equivalent event." Thanks again for your efforts! Note: I have "Enter to find next" selected under Tools->Options->Editor->General->Search->Editor Search Behavior. [1] http://netbeans.org/bugzilla/show_bug.cgi?id=208312
http://hg.netbeans.org/jet-main/rev/493efb74173a When integrated search will be performed only after enter, or any other change (changing checkboxes, text to find)
Wow, that was fast--thanks!!
Integrated into 'main-golden', will be available in build *201207120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/493efb74173a User: Milutin Kristofic <mkristofic@netbeans.org> Log: #215260 - Opening search bar with Ctrl+F incorrectly initiates first search