<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Christopher,<div><br></div><div>Did you enter a bug on this? I couldn’t find one. If you didn’t enter one I will.</div><div><br></div><div>It is a bug in JavaFX, we’re mishandling WM_WINDOWPOSCHANGING but the bug appears to be in some Java code that I’m not familiar with (notifyMoving in WinWindow.java).</div><div><br></div><div>Martin<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Feb 16, 2026, at 1:51 PM, Christopher Schnick <crschnick@xpipe.io> wrote:</div><br class="Apple-interchange-newline"><div>

  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  <div><p>Other non-JavaFX applications work fine, they stay maximized and
      resize to the new size. So probably JavaFX does not like resizing
      a window when it is maximized.</p>
    <div class="moz-cite-prefix">On 16/02/2026 22:49, Thiago Milczarek
      Sayão wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAAP_wunSG=z8hWJQevgxqtYh0PrTcnUuqQcVMYYEx_WNw-cLyw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I think windows will let you resize a maximized
        window, which is weird.
        <div><br>
        </div>
        <div>The logical behaviour would be to unmaximize the window
          when moved.</div>
      </div>
      <br>
      <div class="gmail_quote gmail_quote_container">
        <div dir="ltr" class="gmail_attr">Em seg., 16 de fev. de 2026 às
          14:32, Christopher Schnick <<a href="mailto:crschnick@xpipe.io" moz-do-not-send="true" class="moz-txt-link-freetext">crschnick@xpipe.io</a>>
          escreveu:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On
          Windows, you can move a window (even if maximized) to another
          screen <br>
          with Win+Shift+Arrow key. When doing this, a JavaFX stage does
          not <br>
          resize itself to the new screen if the other screen has a
          different <br>
          size. You get stuck with an application where the titlebar
          looks like it <br>
          is in fullscreen, but it does not fill the screen.<br>
          <br>
          I would suspect there is some kind of rule built into some
          JavaFX part <br>
          that internally prevents resizing maximized windows? Because I
          have only <br>
          seen this happen with JavaFX windows so far.<br>
          <br>
          I can open a ticket for this, but I would have no idea how to
          fix this <br>
          issue.<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
  </div>

</div></blockquote></div><br></div></body></html>