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: | Allow customization of whether quick search field should dismiss on focus lost, or not. | ||
---|---|---|---|
Product: | platform | Reporter: | Martin Entlicher <mentlicher> |
Component: | -- Other -- | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | mentlicher, theofanis |
Priority: | P2 | Keywords: | API, API_REVIEW_FAST |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | The proposed patch |
Description
Martin Entlicher
2012-07-18 13:52:24 UTC
Created attachment 122162 [details]
The proposed patch
Please review the simple API change... Seems good to me. In the case of a focusLost event, if the focus lost is temporary or the dismissOnFocusLost flag is set to false then the focus should return to the search text-field. So please add one line before the return statement: searchTextField.requestFocus(); If this is added it works as expected, at least for the options case :) I'm abandoning this API change, since there's a similar issue #215833, which solves the problem in a more suitable way for use in Options dialog. |