Negative coordinates do not work on Linux(Gnome), but on Windows
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Tue Oct 11 16:52:36 UTC 2022
Hi Dirk,
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.
It might be due to security reasons, but that's just me wondering.
It might have a different behaviour on other window managers (modern gnome
uses mutter).
Em ter., 11 de out. de 2022 às 12:37, Dirk Lemmermann <dlemmermann at gmail.com>
escreveu:
> I just ran into this issue: https://bugs.openjdk.org/browse/JDK-8222794
>
> The ticket is closed and marked as “not an issue”. Unfortunately there is
> no description why this is not an issue.
>
> 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.
>
> 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 :-)
>
> Dirk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20221011/05e8a90e/attachment-0001.htm>
More information about the openjfx-dev
mailing list