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.
Environment: Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1 Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b59 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b117 System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb) Steps to reproduce: 1. Open the Find in Projects dialog (Cmd-Shift-F) 2. Fill in anything in the Containing text field. 3. Press Enter to submit Expected result The search is started Actual result The only chance to start the search is to use the mouse and click the Find button. 4. Press Esc to close the window Expected result The Find in Projects window closes as do all the dialog windows on Esc Actual result The only chance to close the window is to use the mouse (OS window close button or the Close button)
I'm sorry, I cannot reproduce this bug. Do you use the Default search, Grep search, or another search provider?
Jaroslav, I don't know what you mean by default search, grep search. I'm using the Find in Projects dialog in NetBeans IDE, don't know much about the providers beneath the UI. I'm able to reproduce this in both 7.4 (as stated in the description) and in: Product Version: NetBeans IDE Dev (Build 201312170002) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b61 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b119 System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb) What's your environment? (In reply to Jaroslav Havlin from comment #1) > I'm sorry, I cannot reproduce this bug. > Do you use the Default search, Grep search, or another search provider?
(In reply to ionuion from comment #2) > I don't know what you mean by default search, grep search. So you are using the default search, Grep search is available only when C/C++ support is activated. > What's your environment? We were able to reproduce the bug using JDK8 on Mac. It works fine on Windows, Linux and Mac with JDK7. We'll investigate it. Thank you for your help.
Created attachment 143771 [details] Simple Java project that (probably) demonstrates a bug in JDK8 Attaching a simple project that contains one window with a button to open a dialog. There is a JComboBox and a JTextField in the dialog. If the combo box is focused, the dialog cannot be closed by pressing <ESC>. If the text field is focused, pressing <ESC> closes the dialog as expected. If the project is run on JDK7, the dialog can be closed by pressing <ESC> regardless of which of the components has focus. It seems that the JComboBox component in JDK8 consumes key events.
Created attachment 143772 [details] The main (and only) class from the project
*** Bug 239850 has been marked as a duplicate of this bug. ***
Reassigning to platform/JDK Problems.
https://bugs.openjdk.java.net/browse/JDK-8031485
Created attachment 143811 [details] Possible Workaround (draft)
*** Bug 244062 has been marked as a duplicate of this bug. ***
*** Bug 249136 has been marked as a duplicate of this bug. ***
(In reply to Jaroslav Havlin from comment #11) > *** Bug 249136 has been marked as a duplicate of this bug. *** The bug is still partially present (ESC key works correctly, ENTER key is still broken) in JDK 8u25, although it was marked as fixed in 8u20. Reopening.
(In reply to Jaroslav Havlin from comment #12) > The bug is still partially present (ESC key works correctly, ENTER key is > still broken) in JDK 8u25, although it was marked as fixed in 8u20. > Reopening. Filed a new JDK issue for Enter key: https://bugs.openjdk.java.net/browse/JDK-8068040
*** Bug 252585 has been marked as a duplicate of this bug. ***
*** Bug 254661 has been marked as a duplicate of this bug. ***
*** Bug 257177 has been marked as a duplicate of this bug. ***