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.
Summary: | Patch for: Quicksearch field in new project/new file wizard should be focused by default | ||
---|---|---|---|
Product: | projects | Reporter: | Tomas Danek <musilt2> |
Component: | Generic Projects UI | Assignee: | Martin Kozeny <mkozeny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, markiewb, saubrecht |
Priority: | P3 | Keywords: | A11Y, PATCH_AVAILABLE |
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Proposed patch
Patch in action |
Description
Tomas Danek
2013-05-02 09:13:07 UTC
the current code explicitly focuses the category component. Maybe it's working as designed? IMHO the quicksearch field should also have a label with a mnemonic. OR the quicksearch field should only be visible if the user typed some chars... as far as I can tell it works as intended. filtering is optional action, primary is template selection. @Milos: How about adding a label with a mnemonic for the search textfield? Created attachment 136039 [details] Proposed patch (In reply to comment #4) > @Milos: How about adding a label with a mnemonic for the search textfield? I like to propose a patch to solve my own previous proposal. The patch adds a label "Filter: " to the magnifier icon. See screenshot. The code is more like a hack. But this type of access to the inner components of the quicksearch widgethas been used several times in the already existing class. So it is also OK for me. @Milos: What do think about? Please review and commit if appropriate. Created attachment 136040 [details]
Patch in action
adding saubrecht on CC, QuickSearch api we use is in org.openide.awt. Maybe the label/mnemonics should be added to the default implementation? FYI the patch doesn't include a label text on macosx as the components there don't include a label with icon (as the icon is embedded in the textfield) (In reply to comment #8) > FYI the patch doesn't include a label text on macosx as the components there > don't include a label with icon (as the icon is embedded in the textfield) @Milos: I don't have access to a Mac so I cannot extend the patch to support the MacOS specifics. Only FYI Integrated into 'main-silver', will be available in build *201308290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e45044e9e373 User: Martin Kozeny <mkozeny@netbeans.org> Log: #229265: Patch for: Quicksearch field in new project/new file wizard label with mnemonic. |