<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>The alert is being shown without setting its screen or position so it will default to the primary screen regardless of where the main window is. It might make sense for new windows to default to the screen of the active stage to reduce these sorts of surprises. In any case it looks like this decision isn’t being made in the platform code, when creating a new window glass is passed the screen.</div><div><br></div><div>On Mac things do get strange if the main window is in fullscreen mode and has taken over a Space (aka virtual desktop). The alert and the main window are both top-level DECORATED windows and can’t share that space. The work-around is to set the alert’s StageStyle to UTILITY before showing it.</div><div><br><blockquote type="cite"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Optima-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div id="mail-editor-reference-message-container"><div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 12pt;">On 6/17/2024 1:52 PM, Andy Goryachev wrote:<o:p></o:p></span></div></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt; font-family: "Iosevka Fixed SS16";">Thank you for clarification.</span><o:p></o:p></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt; font-family: "Iosevka Fixed SS16";"> </span><o:p></o:p></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt; 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.</span><o:p></o:p></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt; font-family: "Iosevka Fixed SS16";"> </span><o:p></o:p></div><div style="margin: 0in; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt; font-family: "Iosevka Fixed SS16";">-andy</span></div></blockquote></div></div></blockquote><div><br></div></div></body></html>