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

[macos] Setting X/Y makes Stage maximization not work before show

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx22
    • jfx11, jfx20, 8u152, 9
    • javafx
    • None
    • b16
    • generic
    • os_x

    Description

      This issue came out as a part of recently added Stage Attributes test (see related issue).

      When a new Stage is created and not yet shown, setting its X/Y coordinates and calling setMaximized(true) causes the latter to be ignored - Stage is created at requested X/Y spot, but does not maximize. This behavior works fine on Windows (Stage is maximized when show() is called).

      Run attached test program to see the behavior. This was checked on macOS Ventura 13.5.1.

      Attachments

        Issue Links

          Activity

            People

              mfox Martin Fox
              lkostyra Lukasz Kostyra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: