Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.3, 12.4, 12.5
-
None
-
None
-
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
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
Description
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.
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.
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.