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

TextArea/TextField, Bidi support, issue with caret position when pressing Home and End keys

XMLWordPrintable

      8.0 b68 and 8.0-controls-scrum build #172 (including fix for RT-23074 and RT-23075)
      To reproduce:
      1. copy and paste Arabic or Hebrew text to TextField or TextArea
      2. when TextField or TextArea is focused, press Home key, the caret always goes to the left of the text; and when pressing End key, it goes to the right. Well, it should go to the beginning(right) of the text when pressing Home, and go to the end(left) of the text when pressing End.

      And I noticed in 8.0-controls-scrum build #172, Left arrow key makes caret go the the physical left, not the previous, and Right arrow key makes caret go to the physical right, not the next. This is different from b68 and before. Not sure if it's the expected behavior.

            leifs Leif Samuelsson (Inactive)
            jennyh Jenny Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: