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

Error on iOS passing keys with unicode values greater than 255

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx15
    • jfx15
    • javafx
    • None
    • aarch64
    • iOS

    Description

      iOS uses 16-bit unsigned short for a character, but we cast it with the C++ 8-bit char. This won't work for characters greater than 255 (Ascii chars). This can be seen with non-ascii characters like euro (€) or quote (").

      Directly related to this issue:

      - The keyCode mapping between iOS keys and JavaFX doesn't apply, for instance, "%" with ascii value 0x25 is mapped to KeyCode.LEFT.

      - The iOS keyboard should be set to UIKeyboardTypeASCIICapable, to prevent the display of emoji keyboard.

      Attachments

        Issue Links

          Activity

            People

              jpereda Jose Pereda
              jpereda Jose Pereda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: