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 - Patch for: Search and replace: Replace button should be focused and have a mnemonic - Usability
Summary: Patch for: Search and replace: Replace button should be focused and have a mn...
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: NETFIX, PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2013-05-09 17:54 UTC by markiewb
Modified: 2013-05-21 02:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Shows the search result view with the non-focused replace button (63.50 KB, image/png)
2013-05-09 17:54 UTC, markiewb
Details
Proposed patch (2.24 KB, patch)
2013-05-09 22:30 UTC, markiewb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.