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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx21
    • Component/s: 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

            Assignee:
            Thiago Sayao
            Reporter:
            Lukasz Kostyra
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: