Selection in TextArea is distorted after scrolling (ubuntu)

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 9, 10
    • Component/s: javafx
    • None
    • Environment:

      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);
          }
      }

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

              Created:
              Updated: