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 247080 - "Return/Enter" key does not call "Find" (expected default action) in "Find in Projects" dialog
Summary: "Return/Enter" key does not call "Find" (expected default action) in "Find in...
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 247139 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-12 17:58 UTC by csbubbles
Modified: 2016-08-11 15:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description csbubbles 2014-09-12 17:58:06 UTC
Repro steps:

1. Open NetBeans
2. Open "Find in Projects" dialog (shortcut "Cmd-Shift-F" or from menu "Edit" > "Find in Projects...")
3. Enter some text in "Containing Text:" field (the keyboard focus should be there already)
4. Press "Enter" key on the keyboard


Actual results:

You are still in the "Find in Projects" dialog, nothing changes.


Expected results:

The dialog closed, search started and you can see the results of it.


System info:

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 2
Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Mac OS X version 10.9.4 running on x86_64; UTF-8; en_US (nb)
Comment 1 Marian Mirilovic 2014-09-22 08:25:03 UTC
*** Bug 247139 has been marked as a duplicate of this bug. ***
Comment 2 Stanislav Aubrecht 2014-09-22 08:26:33 UTC

*** This bug has been marked as a duplicate of bug 231336 ***
Comment 3 csbubbles 2015-12-20 15:11:30 UTC
Still doesn't work. NetBeans 8.1.
Comment 4 janicki 2016-08-11 15:24:10 UTC
I think this is more of an "enhancement" than a "defect," however, it would be very nice (and easy?) to resolve.  The "Containing Text" field just needs a keystroke listener so that the ENTER key fires the same action as the "Find" button.  (I think that's how... It's been a while since I've programmed Swing.)

I love the "Find in Projects" dialog.  I use it at least a dozen times every day.  Usually, I only need to change the search text.  The rest of its options are usually just right.  It would make life just a little more pleasant if I didn't have to take my hands off the keyboard to hunt that "Find" button with my mouse each time.  :-)