Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Linux version 2.6.35-32-generic running on amd64
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.1-b02
On an XML file that has just been opened in the editor
1. Ctrl+F to open find dialog at bottom of editor
2. Ctrl+V pastes in the text I want to find
3. The first instance of the text is located and highlighted
4. Press ESC to close the find dialog
5. Press Home key, expecting cursor to go to the beginning of the line with the first instance of matched text, instead cursor jumps to the top of the file
6. Ctrl+F to open find dialog again
7. Text find is already there, so press Enter to find
8. The first instance of the text is located and highlighted
9. Press ESC to close the find dialog
10. Press Home key, this time cursor goes to the beginning of the line as I expect it to.
#10 was the previous behavior and is, I believe, correct. It should at least be consistent every time.
PS - I reall don't like the new "embedded" find/replace dialog. I was very familiar and productive with the old one. This new one has slowed me down.
1-5 you just use preview search (without searching by pressing enter or button). The caret didn't change position.
6-10 you finally press Enter, therefore you actually searched and so your caret gets new position.
I fix Bug #208312, after that it should be less confusing.