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

Cursor does not go to the last (empty) line in a text area.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8, openjfx19
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None

      Description

      App.java:
      public class App extends Application {
          @Override
          public void start(Stage stage) {
              stage.setScene(new Scene(new TextArea("01234\n56789\n")));
              stage.show();
          }
      }
      To reproduce:
      1. Run the above code
      2. Do a single mouse click anywhere below the second line of text ("56789")
      3. Cursor is appearing at the end of line 2 (after '9'). Cursor is expected on line 3
      4. Push down keyboard button. Cursor does not move to line 3. Cursor is expected to move to line 3
      5. Push up button, then push down button two times. Cursor is now on line 3

        Attachments

          Activity

            People

            Assignee:
            aghaisas Ajit Ghaisas
            Reporter:
            shurailine Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: