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

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: