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

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

    XMLWordPrintable

    Details

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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: