New line is not inserted on pressing Enter key in HTMLEditor

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • None
    • Affects Version/s: 10.0.1
    • Component/s: javafx
    • x86_64
    • linux_redhat_7.3

      ADDITIONAL SYSTEM INFORMATION :
      Red Hat Enterprise Linux Workstation 7.5
      java version "10.0.1" 2018-04-17
      Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
      Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      Whenever you press the Enter key while typing in the HTMLEditor, no new line is inserted.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create an HTMLEditor and set it as the root node of a scene graph. Set the scene for a stage. Show the stage.
      Any attempt to press the Enter key while in the HTMLEditor's text area nets no effect.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      New lines are entered into the HTMLEditor
      ACTUAL -
      Nothing

      ---------- BEGIN SOURCE ----------
      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.web.HTMLEditor;
      import javafx.stage.Stage;
       
      public class test extends Application {
       
          @Override
          public void start(Stage stage) {
              stage.setTitle("HTMLEditor Test");
              final HTMLEditor htmlEditor = new HTMLEditor();
              Scene scene = new Scene(htmlEditor, 800, 800);
              stage.setScene(scene);
              stage.show();
          }
       
          public static void main(String[] args) {
              launch(args);
          }
      }
      ---------- END SOURCE ----------

      FREQUENCY : always


            Assignee:
            Ajit Ghaisas
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: