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

[Dialogs] HelloAlert ESC and (x) do not close dialog that only has 'OK'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u40
    • javafx
    • None

    Description

      1) run HelloAlert
      2) click 'Dialog' (a dialog with a single 'OK' button is displayed)
      3) BUG: ESC and the close (x) do not close the dialog (and should)

      From memory, an Alert with a single button should be closed by ESC or the close (x) and should return the value of the button. This is debatable and it might be that I am remembering what was decided. Need to try out a few native dialogs with one button to gather data on what native apps do.

      Attachments

        Issue Links

          Activity

            People

              jgiles Jonathan Giles
              snorthov Steve Northover (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: