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

Selection in TextArea is distorted after scrolling (ubuntu)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9, 10
    • javafx
    • None
    • ubuntu 16.04

      1. Run a simple app below.
      2. Make a selection of a word or two.
      3. Make a speedy scroll down and up.

      A video is attached.
      =============================================
      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.TextArea;
      import javafx.stage.Stage;


      public class TA extends Application {
          @Override
          public void start(Stage stage) {
              TextArea textArea = new TextArea();
              textArea.setPrefColumnCount(24);
              textArea.setText("import javafx.application.Application;\n" +
                      "import javafx.scene.Scene;\n" +
                      "import javafx.scene.control.TextArea;\n" +
                      "import javafx.stage.Stage;\n" +
                      "\n" +
                      "\n" +
                      "public class TA extends Application {\n" +
                      " @Override\n" +
                      " public void start(Stage stage) {\n" +
                      " TextArea textArea = new TextArea();\n" +
                      " textArea.setPrefColumnCount(24);\n" +
                      " textArea.setText(\"\");\n" +
                      " Scene scene = new Scene(textArea);\n" +
                      "\n" +
                      " stage.setScene(scene);\n" +
                      " stage.show();\n" +
                      " }\n" +
                      "\n" +
                      " public static void main(String[] args) {\n" +
                      " TA.launch(args);\n" +
                      " }\n" +
                      "}\n");
              Scene scene = new Scene(textArea);

              stage.setScene(scene);
              stage.show();
          }

          public static void main(String[] args) {
              TA.launch(args);
          }
      }

            Unassigned Unassigned
            ssadetsky Semyon Sadetsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: