Maximized stages do not resize when needed on Windows
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Mon Feb 16 21:49:37 UTC 2026
I think windows will let you resize a maximized window, which is weird.
The logical behaviour would be to unmaximize the window when moved.
Em seg., 16 de fev. de 2026 às 14:32, Christopher Schnick <
crschnick at xpipe.io> escreveu:
> On Windows, you can move a window (even if maximized) to another screen
> with Win+Shift+Arrow key. When doing this, a JavaFX stage does not
> resize itself to the new screen if the other screen has a different
> size. You get stuck with an application where the titlebar looks like it
> is in fullscreen, but it does not fill the screen.
>
> I would suspect there is some kind of rule built into some JavaFX part
> that internally prevents resizing maximized windows? Because I have only
> seen this happen with JavaFX windows so far.
>
> I can open a ticket for this, but I would have no idea how to fix this
> issue.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20260216/83d3ea8d/attachment-0001.htm>
More information about the openjfx-dev
mailing list