Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-10 Thread John Hendrikx
Hi Thiago, I ran this on Windows.  My monitor setup is: Left: 3840x2160 (150%) -- top left coordinate (-2560, 0) (-2560 because of scaling) Middle: 3840x2160 (150%) -- this one has a top left coordinate of (0, 0) Right: 1920x1200 (100%) -- this one has a top left coordinate of (2560, 0) When sta

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-10 Thread Thiago Milczarek Sayão
Thanks John! I did not calculate the center, I just wanted to know the behaviour of setX() outside bounds and within bounds of the last screen. The GNOME window manager on Linux restricts programmatic movement of windows to prevent them from being moved outside screen boundaries. However, it allo

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-10 Thread Martin Fox
On macOS 15.3.2 I get the same results as Andy. When I press the top button glass asks the OS to move the window offscreen but the OS shifts the location 40 units to the left so it’s partially onscreen. > On Apr 9, 2025, at 8:08 AM, Andy Goryachev wrote: > > Here are the results on macOS 15.3.

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-09 Thread Thiago Milczarek Sayão
Thank you all for the feedback. I believe the documentation for the Stage class could benefit from additional clarification. I will draft some suggestions and submit them for review. -- Thiago Em qua., 9 de abr. de 2025 às 12:28, Martin Fox escreveu: > On macOS 15.3.2 I get the same results as

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-09 Thread Andy Goryachev
I've got Mac with one (or possibly two) external monitors. I'll test and report later today. -andy From: openjfx-dev on behalf of Thiago Milczarek Sayão Date: Wednesday, April 9, 2025 at 03:56 To: openjfx-dev Subject: Help test the behavior of a multi-screen setup with both Mac and Window

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-09 Thread Andy Goryachev
Here are the results on macOS 15.3.2, with the primary (retina, scale=2) at the bottom and the external (scale=1) at the top like so [cid:image001.png@01DBA925.BCAC1580] In both cases, the first button (Move To 1800.0) moves the window to the same screen partially outside of the viewing area (o

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-09 Thread Thiago Milczarek Sayão
Odd in the sense it's unrestrictive to the bounds. It shouldn't be allowed in a TopLevel taskbar shown window at least, but that's my opinion. But it's windows being windows. They value compatibility and that's probably an old behaviour that some apps depend on. Gnome being gnome has a lot of restr

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-09 Thread John Hendrikx
On Windows it is not restricted AFAIK, moving a screen anywhere is allowed, and one can also drag windows beyond those limits.  When a monitor is added/removed Windows may however decide to reshuffle all your Windows (or randomly if a monitor is slow to respond when waking from sleep) to ensure the

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-09 Thread Nir Lisker
I followed John's 'peek' addition. I have 2 monitors, the second one has a 125% magnification. Windows 10. Rectangle2D [minX=0.0, minY=0.0, maxX=1920.0, maxY=1080.0, width=1920.0, height=1080.0] Rectangle2D [minX=1920.0, minY=0.0, maxX=3456.0, maxY=864.0, width=1536.0, height=864.0] The buttons

Re: Help test the behavior of a multi-screen setup with both Mac and Windows

2025-04-09 Thread John Hendrikx
Small addition; the 3520 button moved the top left of the Window to the middle of the right screen, but the window as a whole was not centered. --John On 09/04/2025 13:22, John Hendrikx wrote: > > Hi Thiago, > > I ran this on Windows.  My monitor setup is: > > Left: 3840x2160 (150%) -- top left c