On Fri, 6 Nov 2026 14:30:47 GMT, Thiago Milczarek Sayao <[email protected]> 
wrote:

> On Windows, you can resize a maximized window, and it will remain maximized 
> while accepting the resize request. On Linux (Mutter/GNOME), if I remember 
> correctly, requesting a resize will unmaximize the window to apply the 
> resize. Another minor behavioral difference between platforms in my opinion.

The general rule is that if try to do something programmatically that the user 
can't do through the standard window decorations it will end badly. On Windows 
you can resize a maximized window programmatically but the window decorations 
and OS will  still think it's maximized and the toolbar will draw incorrectly. 
On macOS maximizing a window that is not resizable causes the window to move 
but not change size. And so on.

Trying to override the platform's behavior is a bad idea. On macOS the glass 
code that allows a non-resizable window to enter fullscreen is buggy. And 
useless; I doubt any JavaFX client ever tried to do this.

TL;DR I agree, don't try to fix this.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2139#issuecomment-6694955746

Reply via email to