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

[linux] Stage.setMaximized() before show() does not persist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx21
    • javafx
    • None
    • generic
    • linux

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

      When setting a Stage to be Maximized or FullScreen before calling show(), Stage shows up maximized/fullscreened, however it immediately animates to non-maximized/non-fullscreen state. Run attached test program to see more.

      I had one situation where the stage actually started windowed and animated to be maximized, it happened randomly when running the attached app multiple times, but I couldn't reproduce it again.

      Issue happened on Fedora 38 (Linux 6.4) VM with X11 window system. Attached program works properly on Windows.

        1. DialogMaximizeFS.java
          0.9 kB
          Marius Hanl
        2. fullscreen.c
          0.7 kB
          Thiago Sayao
        3. MaximizeNotPersisting.java
          2 kB
          Lukasz Kostyra

            tsayao Thiago Sayao
            lkostyra Lukasz Kostyra
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: