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

TextArea/TextField: CTRL+DEL & Undo does not work correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      b129, Win7

      Description

      Enter some text and press CTRL-DELETE several times. Press CTRL-Z several times.
      Text will not be restored correctly.

      Sample to check:
      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.TextArea;
      import javafx.scene.layout.VBox;
      import javafx.stage.Stage;

      public class App extends Application {

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

          @Override
          public void start(Stage stage) throws Exception {
              TextArea control = new TextArea("1 2 3 4 5 6 7 8 9 10");
              Scene scene = new Scene(new VBox(control), 500, 500);
              stage.setScene(scene);
              stage.show();
          }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arapte Ambarish Rapte
                Reporter:
                arapte Ambarish Rapte
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: