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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8u40
    • javafx
    • None

       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).

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

              Created:
              Updated:
              Resolved:
              Imported: