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

[Dialogs] HelloAlert ESC closes the dialog but the close button does not

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      1) run HelloAlert
      2) click 'Question' button (dialog shows)
      3) click (x) close box (dialog does not close ... correct as there is no Cancel button)
      4) BUG: hit ESC and the dialog closes (but should not)

      From memory, a dialog that does not have a cancel button should only be closable using the buttons. In any case, there is a differences between the close button (x) and ESC. The behaviour should be the same.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: