Negative coordinates do not work on Linux(Gnome), but on Windows

Dirk Lemmermann dlemmermann at gmail.com
Tue Oct 11 15:36:54 UTC 2022


I just ran into this issue: https://bugs.openjdk.org/browse/JDK-8222794 <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/6bc1fef5/attachment.htm>


More information about the openjfx-dev mailing list