I posted this issue on the Raspberry Pi forums, however I didn't receive any replies and am hoping you guys might be able to help me out.

I am having an issue running fullscreen JavaFX applications where if I move the cursor "out" of the screen, into the black areas on the monitor where the cursor can't be seen, and then bring the cursor back on to the visible part of the screen, the cursor bugs out until I reboot the Pi. If the cursor is moved to the bottom portion of the screen it turns into a black line, if it is moved into the right portion of the screen it turns into a black square.

Here is a video showing the bug https://www.youtube.com/watch?v=4NOileuj_C0

At first I thought maybe it was an issue with my code, but even just running a simple Hello World JavaFX application in fullscreen causes the same issue. This only happens when I run the applications on the Pi, they run fine on my desktop running Windows. I managed to stop this from occurring by enabling overscan on the Pi and basically creating black bars around the application using the overscan settings for each side of the screen, which stops the user from being able to move the cursor out of the visible area. But these settings then have to be changed for each screen I connect the Pi to, which is a disaster. Any advice would be greatly appreciated.

Here are the system specs:

Raspberry Pi 3

Raspbian Jessie 8

Java: Oracle 1.8.0_65

JavaFX Embedded from: http://gluonhq.com/download/javafx-embedded-sdk/ (I have also tried Oracle's Java 1.8.0 which still supported JavaFX for embedded, unfortunately I still run into the same issue)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.