JDK-8321291 : ZoomEvent and RotateEvent on JavaFX controls not firing on Linux
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: jfx11,8,jfx17,jfx21,jfx22
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: linux_ubuntu
  • CPU: generic
  • Submitted: 2023-12-01
  • Updated: 2023-12-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Description
ADDITIONAL SYSTEM INFORMATION :
PC with touch screen
Ubuntu 20 LTS 
Java 21.0.1
JavaFX 21.0.1

A DESCRIPTION OF THE PROBLEM :
ZoomEvent and RotateEvent (multi touch) events are not firing in Linux based applications.  These events work fine on Windows touch screen machines and using the trackpad on a Macbook Pro


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create any JavaFX control (I've used an ImageView)
Add RotateEvent listener
Observe it doesn't fire on Linux, but works on Windows and Mac



EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The ZoomEvent and TouchEvents do not fire on Linux
ACTUAL -
The ZoomEvent and TouchEvent should fire on Linux

---------- BEGIN SOURCE ----------
Complete reproducer app prepared here:  https://github.com/mbcoder/RotateZoomTests
---------- END SOURCE ----------

FREQUENCY : always



Comments
Was it ever implemented under Linux? [~tsayao] is this something you might want to take a look at?
04-12-2023

Checked with attached test case in Ubuntu 20.04, issue is reproducible Test Result ========== 8 : Fail 8u391: Fail JavaFX 11: Fail JavaFX 17: Fail JavaFX 21: Fail JavaFX 22ea: Fail Issue is not reproducible in Windows 11
04-12-2023