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

[hidpi] Ubuntu 16.04: cannot select ChoiceBox item

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:

      Description

      Ubuntu 16.04 (Unity) + HiDPI + JDK9b122.

      Please run the following sample:

      import javafx.application.Application;
      import javafx.scene.Parent;
      import javafx.scene.Scene;
      import javafx.scene.control.ChoiceBox;
      import javafx.stage.Stage;

      public class ChoiceBoxApp extends Application {

          public Parent createContent() {
              ChoiceBox cb = new ChoiceBox();
              cb.getItems().addAll("One", "Two", "Three");
              cb.getSelectionModel().selectFirst();
              return cb;
          }

          @Override public void start(Stage primaryStage) throws Exception {
              primaryStage.setScene(new Scene(createContent()));
              primaryStage.show();
          }

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

      the ChoiceBox is broken: can't list the items or select one of them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ddhill David Hill (Inactive)
                Reporter:
                avstepan Alexander Stepanov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: