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

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: