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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 7u6
    • Affects Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      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();
          }
      }

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

              Created:
              Updated:
              Resolved:
              Imported: