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

ComboBox: text field loses focus on LEFT/RIGHT ARROW button click

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 7u6
    • fx2.1
    • javafx
    • b17

      App to reproduce:

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.control.ComboBox;
      import javafx.scene.layout.HBox;
      import javafx.stage.Stage;

      public class Main extends Application {

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

          @Override
          public void start(Stage stage) throws Exception {
              HBox pane = new HBox();
              final ComboBox<String> combo = new ComboBox<String>();
              combo.setEditable(true);

              pane.getChildren().addAll(combo, new Button("Button"));

              Scene scene = new Scene(pane, 100, 100);
              stage.setScene(scene);
              stage.show();
          }
      }

            jgiles Jonathan Giles
            ogb Oleg Barbashov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: