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

Stage doesn't show up with the correct size to show its contents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx1.2
    • Fix Version/s: fx1.2
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows XP Prof, marina b05

      Description

      This is reproducible with marina b05.

      With franca build, a Stage shows without setting its width and height will be shown in such a way that its contents are fully visible. But, with marina build, only part of the scene is visible.

      To reproduce, run the below test. With marina, only part of the Rectangle is seen. Stage has to be resized to see it fully.

      import javafx.stage.*;
      import javafx.scene.*;
      import javafx.scene.shape.*;
      import javafx.scene.paint.*;

      Stage {
          scene: Scene {
              content: Rectangle {
                  x: 30
                  y: 30
                  width: 50
                  height: 60
                  fill: Color.BLUE
              }
          }
      }

        Attachments

          Activity

            People

            Assignee:
            jasper Jasper Potts (Inactive)
            Reporter:
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: