Content of TextArea disappears after resizing window.

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • 8u20
    • Affects Version/s: 7u45
    • Component/s: javafx
    • Environment:

      Windows 7 64bit, JDK 7u45

      Content of TextArea disappears either after resizing the window or maximizing it. It seems that it happens when TextArea contains a lot of text and scrollbar is visible (problem doesn't appear when scrollbar is at top). I could reproduce this issue on three computers using following code (I removed text variable definition - it has about 7000 characters):

              TextArea area = new TextArea();
              area.setWrapText(true);
              area.appendText(text);

              VBox root = new VBox();
              VBox.setVgrow(area, Priority.ALWAYS);
              root.getChildren().add(area);
              Scene scene = new Scene(root, 400, 400);
              primaryStage.setScene(scene);
              primaryStage.show();

            Assignee:
            Mick Fleming
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: