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.
Created attachment 124742 [details] In this snapshot, the file menuitem has gotten focus When hitting alt + enter when having something selected in the Java editor, most of the time the File menu item is selected (the dialog for selecting the alt+enter action is also opened, but is not having focus). I have found, that it is a timing issue - if you hit Alt + Enter and let go really fast, it will happen. If you however keep both keys pressed, the dialog will open and gain focus. To reproduce, simply type in some code in the java editor like this: public static void main( String[] args ) { System.out.println( "My String" ); } Highlight "My String" and hit Alt + Enter and let go og both keys real fast. Attached is snapshots of this happening, and not happening. I will add that this is quite fustrating when working, as it disrupts the flow of coding quite a bit - you have to stop thinking of what you are doing to figure out what the heck is going on with the editor, as menus are flying open as you hit the arrow keys to select the refactoring in the opened, but unfocussed dialog.
Created attachment 124743 [details] In this snapshot, the dialog has got focus as it should.
*** This bug has been marked as a duplicate of bug 186557 ***