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

Composed text is not committed when selection is made using mouse

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2.2
    • CPU:
      generic
    • OS:
      solaris_2.5.1

      Description

      Use Japanese locale. Patch up 2D so it can display Japanese text:
      $ export JAVA_FONTS=/net/fonts/a/fonts/unicode
      Run SwingSet:
      $ cd /usr/local/java/jdk1.2fcs/solaris/demo/jfc/SwingSet
      $ /usr/local/java/jdk1.2fcs/solaris/bin/java SwingSet
      Go to Plain Text pane. Click into Text Area until it accepts typing. Turn on Japanese input (Control-Space), type some text (e.g., "nihon"), but do not convert or commit (the text should be shown white-on-black). Use the mouse to select a different section of the text in the Text Area. The section will be highlighted. Type Control-W. As the conversion starts, the composed text jumps to replace the selected text.

      What should happen: When the user clicks into a different part of the text, the composed text should be committed, it should stay in the location where it was typed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              feckssunw Fred Ecks (Inactive)
              Reporter:
              nlindenbsunw Norbert Lindenberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: