<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I experimented with this myself and created the draft PR
      <a class="moz-txt-link-freetext" href="https://github.com/openjdk/jfx/pull/2045">https://github.com/openjdk/jfx/pull/2045</a>. If you like, you can try
      it out. I think at least that this is the issue you described.</p>
    <p>I haven't evaluated all the consequences of this yet and only
      tested it on Windows. But there it works as expected for me</p>
    <div class="moz-cite-prefix">On 21/10/2025 05:00, Glavo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJL5A3mMW4GRuD8NWGdKSc4-TeHpy_26Dz+101SCYEmcVHd9PA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Is anyone interested in this question?</div>
      <br>
      <div class="gmail_quote gmail_quote_container">
        <div dir="ltr" class="gmail_attr">On Wed, Oct 15, 2025 at
          10:21 PM Glavo <<a href="mailto:zjx001202@gmail.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">zjx001202@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Hi,<br>
            <div><br>
            </div>
            <div>Our application has traditionally used
              StageStyle.TRANSPARENT to enable a fully customizable
              stage. </div>
            <div>This allows users to set custom backgrounds and adjust
              the window's opacity freely, leveraging our powerful
              personalization features.<br>
              <br>
              After the release of JavaFX 25, we want to migrate to
              StageStyle.EXTENDED so that <br>
              we can use native window decorations and no longer need to
              draw window shadows ourselves.<br>
              But using StageStyle.EXTENDED creates a stage with a white
              background, which prevents us <br>
              from setting the window's opacity.<br>
              So is there any way we can make the stage background
              transparent while using StageStyle.EXTENDED?<br>
              <br>
            </div>
            <div>Glavo</div>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>