Brett Ryan created NETBEANS-6273:
------------------------------------

             Summary: JDK 1.8 must be used on MacOS
                 Key: NETBEANS-6273
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6273
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Key bindings
    Affects Versions: 12.5, 12.4, 12.3
         Environment: *Product Version:* Apache NetBeans IDE 12.6

*Java:* 17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39

*Runtime:* Java(TM) SE Runtime Environment 17.0.1+12-LTS-39

*System:* Mac OS X version 11.6.1 running on x86_64; UTF-8; en_AU (nb)

*User directory:* /Users/brettryan/Library/Application Support/NetBeans/12.6

*Cache directory:* /Users/brettryan/Library/Caches/NetBeans/12.6
            Reporter: Brett Ryan


When running on macOS with JDK > 1.8.0 the option key is not recognised when 
using a windows keyboard and key bindings in system preferences for Option and 
Command reversed.

When running on JDK 1.8.0 the problem goes away.
h1. Steps to Reproduce
 # In macOS settings > Keyboard > Modifier Keys swap Option (⌥) and Command (⌘) 
keys.
 # Launch NetBeans
 # Open Options > Keymap
 # In "search in shortcuts" press the keys "Windows + LEFT" note that the 
windows has been remapped as Option in step 1
 # Observe that no key was entered
 # Now, within the same field press Windows+SHIFT but keep holding the windows 
key, and now press the LEFT key.
 # Notice now that the search box will display ⌥+LEFT

Repeat the steps above using JDK 1.8.0 and note that pressing shift is not 
necessary and the keys work as expected.
h1. Expected Behaviour

When the windows key has been mapped to Option that the key is recognised in 
later JDK releases as it is with JDK 1.8.0.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to