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

Window buttons of extended RTL stage are on the wrong side

XMLWordPrintable

        This was received on https://gist.github.com/mstr2/0befc541ee7297b6db2865cc5e4dbd09:

        It seems that when we use stage.initStyle(StageStyle.EXTENDED) with RTL stage in Windows, the default buttons on the title bar are not rendered properly:

        https://www.youtube.com/watch?v=hoZRQ8Hl-6s

        Reproducer: https://github.com/Eng-Fouad/javafx25-extended-style-rtl-windows-bug

        Tried the producer on WSL2 (which supports running Linux GUI apps on Windows), and I got the same behavior.

        On MacOS, the buttons are always on the left in both cases (LTR & RTL) and it works as expected.

              mstrauss Michael Strauß
              mstrauss Michael Strauß
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: