I run a JavaFX app with Monocle on Raspberry Pi 3B+ (OS Raspbian GNU/Linux 10 (buster)) using a touchscreen.
If a button is placed on ScrollPane and I touch the button, move the finger (the button is scrolled) and release the button. The button's action event is fired.
To reproduce the issue:
- Set up a touchscreen to Raspberry Pi 3B+
- Run the attached ScrollPaneSample.java with JavaFX Monocle
> sudo jdk/bin/java -Dprism.verbose=true -Djavafx.platform=monocle -Dembedded=monocle -Dglass.platform=Monocle ScrollPaneSample
- Touch a button, scroll it (the button is scrolled and is placed under the finger) and release the finger
- The button is pressed
--- output ---
Button is pressed: 3
--- --- ---
If a button is placed on ScrollPane and I touch the button, move the finger (the button is scrolled) and release the button. The button's action event is fired.
To reproduce the issue:
- Set up a touchscreen to Raspberry Pi 3B+
- Run the attached ScrollPaneSample.java with JavaFX Monocle
> sudo jdk/bin/java -Dprism.verbose=true -Djavafx.platform=monocle -Dembedded=monocle -Dglass.platform=Monocle ScrollPaneSample
- Touch a button, scroll it (the button is scrolled and is placed under the finger) and release the finger
- The button is pressed
--- output ---
Button is pressed: 3
--- --- ---
- links to
-
Review openjdk/jfx/406