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

[Dialogs] Alert with Yes/No buttons can be closed with the ESC key, but alt-F4, etc are vetoed

    XMLWordPrintable

    Details

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

      Description

       To reproduce:

      1) Run HelloAlert

      2) Press the "Question" button

      3) Press the ESC key in the dialog window - note that the window is closed.

      4) Reopen the same dialog

      5) Try closing the dialog by clicking the top-right 'X' button, or alt-F4, etc. Note that the dialog is vetoed, when it shouldn't if 3) is valid (and it is, read the discussion below).

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: