For matching key combinations, we use int Toolkit.getKeyCodeForChar(..) method. This is not sufficient, because some characters can be produced by several key codes. For instance, if user binds a "+" key combination, it should react on both key-pad and num-pad "+" keys. So instead of this method, we need to have int[] getKeyCodesForChar(..) returning all the possible key codes.
- blocks
-
JDK-8090275 KeyCharacterCombination doesn't match the alternative keys
- Open
- relates to
-
JDK-8087486 [Glass, Linux, Mac, Monocle] KeyCharacterCombination matching for tab and newline is broken
- Open