Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8089373

Translation from character to key code is not sufficient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx23
    • 8
    • javafx
    • None
    • b06

      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.

            mfox Martin Fox
            psafrata Pavel Ĺ afrata
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: