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

Cursor placement with mouse can break up supplementary char pairs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 1.4.2_01, 5.0
    • client-libs
    • b32
    • generic
    • generic

      Using the mouse, placing the visible cursor between two supplementary characters in a JTextArea or JTextField can break up the supplementary character pair of code units. The result is that user can insert new characters between code units that should never be separated.

      The misplaced document dot/mark occurs only when the visible cursor touches the trailing part of a supplementary character glyph in a sequence of multiple supplementary characters. Suspect a viewToModel(x,y) problem...

            joconnersunw John Oconner (Inactive)
            joconnersunw John Oconner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: