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

Visual caret motion broken by Merlin build E

XMLWordPrintable

    • beta
    • generic
    • solaris_2.5
    • Verified

      The visual caret movement in bidirectional text has stopped working as of Merlin build E. It is now doing logical movement, as if the bidi text was actually Latin text instead. This regression appears to be a result of the text related fixes putback in build E.

      To duplicate:

      Run the Stylepad demo from build D. Enter a new line of text. Select new text and apply the Lucida font to it. Select the Hebrew keyboard under the Debug menu. Type some Hebrew characters in the line of text that is using the Lucida font. Use arrow keys to move caret through new line of text. Observe that pressing the right arrow key always results in the caret moving one character to the right on screen. This is the correct behavior.

      Repeat the above test using build E. Observe that hitting the right arrow key at a boundary between different directional runs of text causes the caret to jump over the entire directional run. This is the regression.

            svioletsunw Scott Violet (Inactive)
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: