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

Using Tab on HTMLEditor makes cursor disappear

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u45
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 8

      Description

      When using the HTMLEditor component, pressing Tab creates a tab in the text, but makes the cursor disappear. You can still keep typing at the correct position, but the cursor only reappears when you press Tab again.

      Used code to reproduce:

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.layout.VBox;
      import javafx.scene.web.HTMLEditor;
      import javafx.stage.Stage;

      public class EditorTest extends Application {

          public static void main(String[] args) {
              launch(args);
          }
          
          public void start(Stage primaryStage) {
           VBox root = new VBox();
           HTMLEditor editor = new HTMLEditor();
          
           root.getChildren().add(editor);
           primaryStage.setScene(new Scene(root));
           primaryStage.show();
          }
      }

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: