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

New stage opened from the main stage has min size instead of defined size

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      Tested on archlinux,

      A DESCRIPTION OF THE PROBLEM :
      I open stages from the main stage. I set the following properties on the child stage:
      - minHeight
      - minWidth
      - height
      - width

      and when the stage gets visible, it has its min size instead of the one defined. From what I've seen, the window originally has the defined size but gets resized at some point.

      On the 20.x, it had the good size.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      See https://github.com/numind-tech/javafx-21-stage-size


      FREQUENCY : always


        1. CaptureOne.png
          CaptureOne.png
          34 kB
        2. CaptureTwo.png
          CaptureTwo.png
          31 kB
        3. HelloApplication.java
          0.9 kB
        4. Submitter_Screenshot.png
          Submitter_Screenshot.png
          176 kB

            tsayao Thiago Sayao
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: