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 149273 [details] messages.log Product Version: NetBeans IDE Dev (Build 201409080001) Updates: Updates available 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: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev 1. With keyboard focus in the editor, hit CTRL+G. 2. Go to Bookmark dialog will pop up 3. Enter a line number and hit ENTER 4. Most of the time, the editor will go to the desired line but sometimes the editor goes into a bad state where it ignores ENTER (but clicking "Go To" still works) 5. The only way I've found to fix the problem is restart the IDE. I am unsure how to reproduce this problem consistently. Is it possible for you to increase the logging level somehow and have me send you logs the next time this happens?
I figured out how to reproduce the problem. 1. Open a Java file in the editor. 2. Hit CTRL+G, "Go to Line" (this works). 3. Hit CTRL+HOME, Jump to top of file. 4. Now, hit CTRL+G again. 5. Notice that ENTER no longer works. For some reason hitting CTRL+HOME seems to trigger this bug.
I'm guessing the Navigation component is more appropriate. Feel free to reassign if you disagree.
I cannot reproduce this on my machine. Product Version: NetBeans IDE Dev (Build 201407010002) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-68-generic running on amd64; UTF-8; en (nb) Ctrl+Home doesn't trigger this behaviour.
Milutin, Your build is two months older than the one I reported the bug in. And you're also under Linux. Try a newer build (even under Linux) and the bug should occur.
Sorry I coppied last time wrong about. I was working on 2 month old netbeans build but I tested it on daily build. I also tested this on Product Version: NetBeans IDE Dev (Build 20140919-7bbc457b4823) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-68-generic running on amd64; UTF-8; en_US (nb) But still Linux. Somebody could help us and try this on Windows.
I can reproduce the problem. It is important that between steps 4 and 5 (comment 1) no new number is typed. Another problem, maybe related, is that arrow keys does not work for selecting from previously used numbers, it automatically select the next number and closed the dialog (user cannot browse in the list) Product Version: NetBeans IDE Dev (Build 201409220001) 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: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Ok, I still cannot reproduce original bug, but I can reproduce problem with combobox history (arrows down). I think it is connected, and by fixing combobox history I also fixed Enter keypress. Please reopen, if I am wrong and you can reproduce it in fixed build. http://hg.netbeans.org/jet-main/rev/e81d178e96fe
I just encountered the original bug in NetBeans 8.0.2. Is it supposed to be fixed there?
matthies, I believe so. Reopening.
Just FYI, for me the problem now went away after a while without having to restart the IDE.