<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Should someone want to look into this issue then I can recommend using the ScreensView in the GemsFX project for debugging purposes. You can see it here: <a href="https://www.youtube.com/watch?v=Kv7jo9fF9tc" class="">https://www.youtube.com/watch?v=Kv7jo9fF9tc</a><div class=""><br class=""></div><div class="">Dirk</div><div><br class=""><blockquote type="cite" class=""><div class="">On 11 Oct 2022, at 23:21, Tom Schindl <<a href="mailto:tom.schindl@bestsolution.at" class="">tom.schindl@bestsolution.at</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class="">As I have implemented something like this for Windows I can confirm that there you also need to use native win32 APIs for the move because only then you eg get docking and snapping correct which does not work if you use the FX-Stage APIs!<div class=""><br class=""></div><div class="">For OS-X I‘d have to look up the code because I can not member it.<br class=""><div class=""><br class=""></div><div class="">Tom<br class=""><br class=""><div dir="ltr" class="">Von meinem iPhone gesendet</div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">Am 11.10.2022 um 22:23 schrieb Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com" class="">thiago.sayao@gmail.com</a>>:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">The correct way to implement this on Linux would be:</div><div class=""><br class=""></div><div class=""><a href="https://specifications.freedesktop.org/wm-spec/wm-spec-1.4.html" class="">https://specifications.freedesktop.org/wm-spec/wm-spec-1.4.html</a><br class=""></div><div class=""><h3 class="gmail-title" style="font-family: "Times New Roman";">_NET_WM_MOVERESIZE</h3></div><div class="">We would need to implement a specific API to do this.<br class=""></div><div class=""><br class=""></div><div class="">This specification is to tell the Window Manager: Start a window move operation.</div><div class=""><br class=""></div><div class="">-- Thiago.</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 11 de out. de 2022 às 13:52, Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com" class="">thiago.sayao@gmail.com</a>> escreveu:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">Hi Dirk,<div class=""><br class=""></div><div class="">I have tried your example, it seems the window manager is denying the application from being moved into negative coordinates, unless using the window manager itself.</div><div class=""><br class=""></div><div class="">It might be due to security reasons, but that's just me wondering.</div><div class=""><br class=""></div><div class="">It might have a different behaviour on other window managers (modern gnome uses mutter).</div><div class=""><br class=""></div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 11 de out. de 2022 às 12:37, Dirk Lemmermann <<a href="mailto:dlemmermann@gmail.com" target="_blank" class="">dlemmermann@gmail.com</a>> escreveu:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">I just ran into this issue: <a href="https://bugs.openjdk.org/browse/JDK-8222794" target="_blank" class="">https://bugs.openjdk.org/browse/JDK-8222794</a><div class=""><br class=""></div><div class="">The ticket is closed and marked as “not an issue”. Unfortunately there is no description why this is not an issue.</div><div class=""><br class=""></div><div class="">In our app we removed the window decorations of our main stage and use a custom design. For this to work we also have to reimplement the moving / dragging around of the window but with the limitation expressed by the ticket this seems to be impossible.</div><div class=""><br class=""></div><div class="">I don’t really see a good reason why programmatically setting the x- or y-coordinate should not result in the window being shown on a different screen. However, I am open for being told why that is :-)</div><div class=""><br class=""></div><div class="">Dirk</div><div class=""><br class=""></div></div></blockquote></div>
</blockquote></div>
</div></blockquote></div></div></div></div></blockquote></div><br class=""></body></html>