<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    If it only misbehaves on multi-screen, then that's almost certainly
    a separate issue.<br>
    <br>
    -- Kevin<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 6/17/2024 1:52 PM, Andy Goryachev
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:BL3PR10MB61856105CA32DBA68C3884EAE5CD2@BL3PR10MB6185.namprd10.prod.outlook.com">
      
      <meta name="Generator" content="Microsoft Word 15 (filtered medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:"Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}@font-face
        {font-family:"Iosevka Fixed SS16";
        panose-1:2 0 5 9 3 0 0 0 0 4;}@font-face
        {font-family:"Times New Roman \(Body CS\)";
        panose-1:2 11 6 4 2 2 2 2 2 4;}@font-face
        {font-family:"\@Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Aptos",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Iosevka Fixed SS16";
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}div.WordSection1
        {page:WordSection1;}ol
        {margin-bottom:0in;}ul
        {margin-bottom:0in;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">Thank
            you for clarification.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">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.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">-andy<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
        <div id="mail-editor-reference-message-container">
          <div>
            <div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
                  </span></b><span style="font-size:12.0pt;color:black">openjfx-dev
                  <a class="moz-txt-link-rfc2396E" href="mailto:openjfx-dev-retn@openjdk.org"><openjfx-dev-retn@openjdk.org></a> on behalf of
                  Thiago Milczarek Sayão <a class="moz-txt-link-rfc2396E" href="mailto:thiago.sayao@gmail.com"><thiago.sayao@gmail.com></a><br>
                  <b>Date: </b>Monday, June 17, 2024 at 13:47<br>
                  <b>To: </b>openjfx-dev
                  <a class="moz-txt-link-rfc2396E" href="mailto:openjfx-dev@openjdk.org"><openjfx-dev@openjdk.org></a><br>
                  <b>Subject: </b>Platform diferences<o:p></o:p></span></p>
            </div>
            <div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt">I'm
                    forwarding here since it's unrelated to the specific
                    issue.<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt">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).<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt">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).<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt">There's
                    also window managers like i3 on which making effort
                    to center the windows are pointless since it's a
                    tiling wm.<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt">We
                    should let some platform details be different, I
                    think.<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt">--
                    Thiago<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
                <div>
                  <div>
                    <p class="MsoNormal"><span style="font-size:12.0pt">----------
                        Forwarded message ---------<br>
                        De: <strong><span style="font-family:"Aptos",sans-serif">Andy Goryachev</span></strong>
                        <<a href="mailto:notifications@github.com" moz-do-not-send="true" class="moz-txt-link-freetext">notifications@github.com</a>><br>
                        Date: seg., 17 de jun. de 2024 às 16:51<br>
                        Subject: Re: [openjdk/jfx] 8332222: Linux
                        Debian: Maximized stage shrinks when opening
                        another stage (PR #1460)<br>
                        To: openjdk/jfx <<a href="mailto:jfx@noreply.github.com" moz-do-not-send="true" class="moz-txt-link-freetext">jfx@noreply.github.com</a>><br>
                        Cc: Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com" moz-do-not-send="true" class="moz-txt-link-freetext">thiago.sayao@gmail.com</a>>,
                        Mention <<a href="mailto:mention@noreply.github.com" moz-do-not-send="true" class="moz-txt-link-freetext">mention@noreply.github.com</a>><o:p></o:p></span></p>
                  </div>
                  <p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
                  <p>Question. I see different behavior between macOS
                    and linux mint with the attached program (unmodified
                    master branch).<o:p></o:p></p>
                  <p>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?<o:p></o:p></p>
                  <p>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.<o:p></o:p></p>
                  <p>Unless we move the main window to another monitor.
                    In that case I can see a number of differences:<o:p></o:p></p>
                  <ol type="1" start="1">
                    <li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
                      <span style="font-size:12.0pt">main window in
                        normal state, the alert comes up on a primary
                        screen and not on the screen where the main
                        window is located<o:p></o:p></span></li>
                    <li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
                      <span style="font-size:12.0pt">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.<o:p></o:p></span></li>
                  </ol>
                  <p>I feel this behavior (on mac) is unexpected. Any
                    ideas?<o:p></o:p></p>
                  <p><span style="color:#666666">—<br>
                      Reply to this email directly, <a href="https://github.com/openjdk/jfx/pull/1460#issuecomment-2174303188" target="_blank" moz-do-not-send="true">
                        view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AHKIFHSSXAPOFA3MMY2ZCO3ZH4427AVCNFSM6AAAAABIENWRK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUGMYDGMJYHA" target="_blank" moz-do-not-send="true">
                        unsubscribe</a>.<br>
                      You are receiving this because you were mentioned.<span style="border:solid windowtext 1.0pt;padding:0in"><img style="width:.0104in;height:.0104in" id="_x0000_i1025" src="cid:~WRD0001.jpg" alt="Image removed by sender." moz-do-not-send="true" width="1" height="1" border="0"></span></span><span style="font-size:1.0pt;color:#666666">Message ID:
<a class="moz-txt-link-rfc2396E" href="mailto:openjdk/jfx/pull/1460/c2174303188@github.com"><openjdk/jfx/pull/1460/c2174303188@github.com></a></span><span style="color:#666666"><o:p></o:p></span></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>