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

TextField doesn't allow users to input Chinese and other non-ascii characters

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      A DESCRIPTION OF THE PROBLEM :
      TextField doesn't allow users to input Chinese and other non-ascii characters

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Write a TextFiled application and then run application on Linux
      try to input Chinese or other non-ascii characters and it won't work


      CUSTOMER SUBMITTED WORKAROUND :
      Currently users could define a class implements InputMethodRequests

      and then

      textArea.setInputMethodRequests(new InputMethodRequestsImplementation());
      textArea.setOnInputMethodTextChanges(event -> {
        if(!event.getommitted().equals("")){
          textArea.insertText(textArea.getCaretPosition(), event.getCommitted());
        }
      });

      therefor we could input Chinese or other non-ascii characters there
      without this piece of code it works on Windows & macOS
      but it doesn't work on Linux

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              arapte Ambarish Rapte
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: