You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I develop the open-source mind map editor Freeplane. Recently, I embedded JetBrains Java Runtime into the Windows version due to its better emoji font support. However, during preview testing, a user reported losing touch functionality with their Surface Pro 7, affecting both pen and finger inputs.
To investigate, I wrote a minimal Java app to log mouse events. Testing revealed the following:
Using Azul Zulu Java Runtime v21.0.5, touch inputs were correctly mapped to mouse events.
With JetBrains Runtime 21.0.5b509.30 and 21.0.5b631.16, only pure mouse events were logged; no touch events were detected.
The app requires the following Java option:
--add-exports java.desktop/sun.awt=ALL-UNNAMED
This is necessary to access the internal sun.awt APIs, specifically for detecting whether a MouseEvent was caused by a touch event.
This issue seems related to the previously reported #467. It demonstrates that the problem is broader and not tied to a specific library. The findings can extend and complement the existing YouTrack issue JBR-7716, created by @vprovodin, to address issue #467.
I kindly request that this issue be given higher priority due to its significant impact on Java applications running on devices with touch input.
Best regards,
Dimitry Polivaev
The text was updated successfully, but these errors were encountered:
Dear JetBrains Team,
I develop the open-source mind map editor Freeplane. Recently, I embedded JetBrains Java Runtime into the Windows version due to its better emoji font support. However, during preview testing, a user reported losing touch functionality with their Surface Pro 7, affecting both pen and finger inputs.
To investigate, I wrote a minimal Java app to log mouse events. Testing revealed the following:
The app requires the following Java option:
This is necessary to access the internal sun.awt APIs, specifically for detecting whether a MouseEvent was caused by a touch event.
Code:
System Details:
Relationship to Existing Issues:
This issue seems related to the previously reported #467. It demonstrates that the problem is broader and not tied to a specific library. The findings can extend and complement the existing YouTrack issue JBR-7716, created by @vprovodin, to address issue #467.
I kindly request that this issue be given higher priority due to its significant impact on Java applications running on devices with touch input.
Best regards,
Dimitry Polivaev
The text was updated successfully, but these errors were encountered: