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 229553

Summary: Patch for: Search and replace: Replace button should be focused and have a mnemonic - Usability
Product: utilities Reporter: markiewb
Component: SearchAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: normal Keywords: NETFIX, PATCH_AVAILABLE
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Shows the search result view with the non-focused replace button
Proposed patch

Description markiewb 2013-05-09 17:54:14 UTC
Created attachment 134269 [details]
Shows the search result view with the non-focused replace button

ACTUAL: after doing a Search&Replace the replace button has not the focus, the button has no mnemonic

EXPECTED: after doing a Search&Replace the replace button has the focus. So the user can press SPACE/ENTER/CTRL-ENTER to perform the replacement (or at least a mnemonic to press)
Comment 1 markiewb 2013-05-09 22:30:32 UTC
Created attachment 134273 [details]
Proposed patch

I like to propose the attached patch to solve the issue. 
The issue introduces adds mnemonics for the replace button and also focuses the replace button after the search is complete.

@Jaroslav: Please have a look and commit if appropriate.
Comment 2 Jaroslav Havlin 2013-05-20 08:54:16 UTC
Integrated as http://hg.netbeans.org/core-main/rev/18dced3569e7
Thank you very much for the patch!
Comment 3 Quality Engineering 2013-05-21 02:36:19 UTC
Integrated into 'main-golden', will be available in build *201305202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/18dced3569e7
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #229553: Replace button should be focused and have a mnemonic - Usability

Patch by Markiewb.