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 =========== Mac OS X 10.7.5 Java 1.6.0_45 NetBeans 7.3.1 Configuration ============= In System preferences, set keyboard layout to DVORAK and remap the caps lock key to be the ctrl key. In NetBeans preferences, set the keyboard mapping to emacs. Steps to reproduce ================== 1. In the text editor, put the text on a line and press Ctrl-e (e in the DVORAK layout is where d is in QWERTY) to go to the end of the line. Instead of going to the end of the line, Netbeans deletes a character. 2. In the text editor, put the text on a line and press Ctrl-. This causes the cursor to go to the end of the line, apparently because . in the DVORAK layout is where e is in QWERTY. Observation =========== It seems the keymap reverts to QWERTY when the Ctrl key is pressed. If I bring up the keyboard viewer, I do see that Ctrl-e is shown to be pressed when I press Ctrl-e.
Any status on this? It keeps me from using NetBeans 7.3.1.
*** Bug 233617 has been marked as a duplicate of this bug. ***
This somehow appears to have gotten into a recent update to 7.3, because I'm suddenly experiencing this issue in 7.3.
A more direct indicator of the symptom is that in the key mapping preferences when I go to "search in shortcuts" and enter a keystroke (such as the one for "Format") it shows Ctrl+Shift+Y instead of Ctrl+Shift+F
This seems as a defect in JDK/MacOS X, specifically the method KeyEvent.getExtendedKeyCode() fails to produce the correct key code (returns VK_UNDEFINED). The KeyEvent that arrives to the NetBeans for pressing "E" key has the following properties on both Linux (working) and MacOS X (not working): * keyText='E' * keyChar='.' * keyCode=69 extendedKeyCode returns 46 on Linux, 0 on MacOS X. Should start to work OK once fixed on JDK/JRE side. Sadly the Oracle Bug database is failing when I try to enter a new bug report. Will try later today or when I get to an internal site.
I am very disappointed this is not fixed in 7u40. Svata, did you ever find time to file this against the JDK? Thanks, Ed
FWIW, I filed 17556909 against the JDK.
(In reply to edburns from comment #7) > FWIW, I filed 17556909 against the JDK. Thank you Ed.