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

Unexpected behavior of text component when entering Korean text in Ubuntu 16

XMLWordPrintable

      Entering Korean text is not working as expected on Ubuntu 16.
      When using Hangul input method on Ubuntu 16, entered text sometimes moves with the caret.

      The issue is not reproduced on Ubuntu 14.

      The expected behavior is for the text to stay fixed to the input location, i.e. in the test case,
      the first line should contain the ‘ㅎ’ character, and only the caret should move to the second line.

      This expected behaviour can also be observed in native applications, e.g. in gedit.


      To reproduce:

      1. Compile and run the attached example.
      2. Switch to Hangul input method,
      3. Press Shift+Space to activate Hangul input, and
      4. Press G (on standard English keyboard), and then
      5. Press Down Arrow key.

        1. JTextArea - 16.png
          JTextArea - 16.png
          4 kB
        2. JTextArea - 18.png
          JTextArea - 18.png
          6 kB
        3. JTextAreaTest.java
          1 kB
        4. ub16.log
          0.9 kB
        5. ub18.log
          0.9 kB

            aivanov Alexey Ivanov
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: