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.
Summary: | Unable to Assign Alt + Slash to an action | ||
---|---|---|---|
Product: | editor | Reporter: | cschanck |
Component: | Key bindings | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | Keywords: | JDK_SPECIFIC |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
cschanck
2012-12-14 03:00:16 UTC
Please check that you actually cannot use Alt+something. The suggestion box might say there are no available shortcuts, but in fact, shortcuts with Alt- are not even suggested on Mac. So confirm your shortcut in the table, confirm the dialog, and try. Nope, I get "Alt+" in the dialog, but then can't press slash to complete it. Furthermore, I exported, added A+SLASH directly to the keymap, reimported it, and I can SEE Alt-SLASH in the bindings, but it does not work; I get a "divide" symbol instead. Bizarre. Like I said, works fine under Eclipse and IntelliJ. jdk7_u10. OSX Mountain Lion. Note that 7.3 beta hangs when run, but the nightly does work and exhibit this behavior. Plus, of curse, 7.2.1 fails the same way. What JRE are you using ? I can see there was a change in keyboard events from events between JRE 1.6 and 1.7. While in 1.6, the key combination came as alt-Slash, in 1.7 it does not trigger key pressed (which may be OK), but comes directly as key typed for the target character. Even if I enhance the support in the configuration line, JDK will not able to convert the keystroke forward/backward to text form. I filed a bug against JDK: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000889. When resolved, this issue should be solved as well without intervention to NB code. |