definitely a separate issue.

-andy



From: openjfx-dev <openjfx-dev-r...@openjdk.org> on behalf of Kevin Rushforth 
<kevin.rushfo...@oracle.com>
Date: Monday, June 17, 2024 at 15:09
To: openjfx-dev@openjdk.org <openjfx-dev@openjdk.org>
Subject: Re: Platform diferences
If it only misbehaves on multi-screen, then that's almost certainly a separate 
issue.

-- Kevin

On 6/17/2024 1:52 PM, Andy Goryachev wrote:
Thank you for clarification.

I guess the only problem I see (and which applies to both mac and linux) is 
that the alert window appears on the wrong monitor - I would expect it to 
appear on the same monitor where the main window is positioned.

-andy




From: openjfx-dev 
<openjfx-dev-r...@openjdk.org><mailto:openjfx-dev-r...@openjdk.org> on behalf 
of Thiago Milczarek Sayão 
<thiago.sa...@gmail.com><mailto:thiago.sa...@gmail.com>
Date: Monday, June 17, 2024 at 13:47
To: openjfx-dev <openjfx-dev@openjdk.org><mailto:openjfx-dev@openjdk.org>
Subject: Platform diferences
I'm forwarding here since it's unrelated to the specific issue.

The existing behavior on Linux is to center the windows. I think we should let 
the window manager decide and don't touch the initial position (unless the user 
sets it).

On mutter, for example, there's an option to automatically center the windows. 
There's also an option to automatically maximize windows near screen size (and 
we probably break it).

There's also window managers like i3 on which making effort to center the 
windows are pointless since it's a tiling wm.

We should let some platform details be different, I think.

-- Thiago

---------- Forwarded message ---------
De: Andy Goryachev <notificati...@github.com<mailto:notificati...@github.com>>
Date: seg., 17 de jun. de 2024 às 16:51
Subject: Re: [openjdk/jfx] 8332222: Linux Debian: Maximized stage shrinks when 
opening another stage (PR #1460)
To: openjdk/jfx <j...@noreply.github.com<mailto:j...@noreply.github.com>>
Cc: Thiago Milczarek Sayão 
<thiago.sa...@gmail.com<mailto:thiago.sa...@gmail.com>>, Mention 
<ment...@noreply.github.com<mailto:ment...@noreply.github.com>>


Question. I see different behavior between macOS and linux mint with the 
attached program (unmodified master branch).

On mac, the alert window is always positioned at the upper left corner, while 
on linux it is correctly placed at the center of the screen. Is this expected?

Also on mac, as I understand it, there is no "maximized" state, only full 
screen. So when the alert window comes up, the main window slides out of view 
and all we see is the black screen and alert widow at the upper left corner.

Unless we move the main window to another monitor. In that case I can see a 
number of differences:

  1.  main window in normal state, the alert comes up on a primary screen and 
not on the screen where the main window is located
  2.  when main window is "maximized" to full screen, both screens go into full 
screen mode, one (secondary) with the main window, the other (primary) with a 
black background. an alert pops up on the primary screen (i.e. other than the 
screen with the main window), but this time it is correctly positioned at the 
center of the primary screen.

I feel this behavior (on mac) is unexpected. Any ideas?

—
Reply to this email directly, view it on 
GitHub<https://github.com/openjdk/jfx/pull/1460#issuecomment-2174303188>, or 
unsubscribe<https://github.com/notifications/unsubscribe-auth/AHKIFHSSXAPOFA3MMY2ZCO3ZH4427AVCNFSM6AAAAABIENWRK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUGMYDGMJYHA>.
You are receiving this because you were mentioned.Message ID: 
<openjdk/jfx/pull/1460/c2174303...@github.com><mailto:openjdk/jfx/pull/1460/c2174303...@github.com>

Reply via email to