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

Context menu in DatePicker is not closed after clicking on other part of popup.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Not an Issue
    • 8
    • 8
    • javafx
    • jdk1.8.0b92

    Description

      To reproduce:

      right click on the popup and when the context menu will appear click the header of the popup.
      The context menu will remain.

      Expected behavior is the same as with ESC - it should close.

      @Override
          public void start(Stage stage) throws Exception {

              HBox root = new HBox();
              datePicker = new DatePicker();
              root.getChildren().addAll(datePicker);
              scene = new Scene(root, 300, 200);

              stage.setScene(scene);
              stage.setTitle(VersionInfo.getRuntimeVersion());
              stage.show();
          }

      Attachments

        Activity

          People

            leifs Leif Samuelsson (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: