Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8262023

Scrolled button is pressed using Monocle on Raspberry Pi with Touchscreen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx15
    • javafx
    • None
    • Raspberry Pi 3B+
      Raspberry Pi 7" Touch Screen Display

      OS: Raspbian GNU/Linux 10 (buster)
      JDK: 15.0.2

    • arm
    • other

      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
      --- --- ---

        1. ScrollPaneControlsSample.java
          7 kB
          Alexandr Scherbatiy
        2. ScrollPaneSample.java
          1 kB
          Alexandr Scherbatiy

            alexsch Alexandr Scherbatiy
            alexsch Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: