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.

Bug 192488 - [70cat] Search bar input field loses focus on search bar actions
Summary: [70cat] Search bar input field loses focus on search bar actions
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-11-25 18:12 UTC by matthies
Modified: 2011-08-24 12:58 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2010-11-25 18:12:31 UTC
When keyboard focus in on the input field of the editor search bar (Ctrl+F), then upon changing the options or doing previous/next via Alt+P/N/M/W/E/T, the keyboard focus moves away from the input field to the respective button or checkbox. One needs to use a sequence of Shift+Tab to get it back to the input field.

This is a regression from NB 6.9, where the keyboard focus remained in the input field when actuating the other searchbar items using the keyboard.
Comment 1 matthies 2010-11-25 18:13:09 UTC
PS: This is in 7.0 Beta.
Comment 2 David Strupl 2010-11-26 13:45:09 UTC
I will fix that.
Comment 3 David Strupl 2011-03-08 17:29:31 UTC
Attempt to improve the situation is here:

http://hg.netbeans.org/jet-main/rev/90b43c648249

I have added the mnemonic Alt-F to jump to the search field if the focus is elsewhere in the Find bar.
Comment 4 matthies 2011-03-11 00:38:11 UTC
Thanks for that fix. Would it be possible, in addition to Alt+F, to make Ctrl+F work too (or possibly whatever has been defined as the keyboard shortcut to invoke the Find bar)? This way the same shortcut would work to focus the search field regardless of whether the Find bar is open or not. I find myself hitting Ctrl+F several times before I realize that it doesn't work because the bar is already open.
Comment 5 Milutin Kristofic 2011-08-24 12:58:46 UTC
There is now also option to use CTRL+F to go to text field.

This change will be in 7.1.

http://hg.netbeans.org/jet-main/rev/4d6a508f9461
http://wiki.netbeans.org/NewAndNoteworthyNB71#New_Replace_Bar