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

Alert.getHeight and Alert.getDialogPane().getHeight() are returning the same value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • 8u40
    • 8u40
    • javafx

    Description

      Reproducible: always
      Is a regression: no

      Steps to reproduce (Sample attached):
      1. Create alert and wait until it shown.
      2. Get alert size using alert.getHeight() and alert.getDialogPane().getHeight()
      Expected behaviour: alert.getHeight() returns window size with decorations, alert.getDialogPane().getHeight() return window size without header and borders.
      Actual behaviour: both heights are the equal, but when trying to close dialog methods return expected size.

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            arusakov Andrey Rusakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: