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.
Created attachment 112239 [details] Testcase I found this after running out of time trying to make a testcase for issue 203410. It seems to confirm my subjective experience that the NetBeans find/replace does not really work under a realistic workload. Please use the attached testcase as follows: - In the find bar, check "Match Case" - in the Find field, enter "test" without the quotes - hit [Enter] - In the find bar, uncheck "match Case" - hit [Enter] - hit [Esc] On hitting [Enter] the 2nd time, the [Next] button has lost focus and the [Enter] key does nothing. In case there is discussion about the priority I would like to say that this is trivial to fix however it is difficult to accept in the state of maturity that NetBeans is in. Priority 2 or not as long as this is fixed in the next iteration e.g. RC1 please.
Workaround: Alt+F returns focus to find field. If I give shortcut enter to whole find panel, then when you open replace bar, it will have inconsistent behavior. Enter on Match Case, Whole Words, Regular Expression ... - Find Action Enter on Replace Backwards Preserve case - Replace Action If I override enter on find panel for replace, then it is confusing if you use only find when you have open replace bar. I consider status quo as best solution. Alt+F for find field, Alt+L for replace field. Enter/Shift Enter are working just on fields. Can you describe better solution? But you need to consider replace bar because it is close connected to find bar
Thanks for the question. I am hesitating to describe a solution as it would put constraints on your implementation, except I would not want to use another shortcut key such as [Alt+F] as a workaround. I am suggesting a solution that has the behavior similar to notepad++, available at http://notepad-plus-plus.org (just as an example - other editors might not be much different).
Ok, checkboxes are not focusable. Fixed in http://hg.netbeans.org/jet-main/rev/5c5e7c6f47c4 Btw: I read documentation for notebook++ http://npp-community.tuxfamily.org/documentation/notepad-user-manual/searching and I find that search and replace are in dialog what is different situation.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/5c5e7c6f47c4 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #203985 - Find Bar Default Action Key loses Focus