[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #RQK-569238]: two finger track pad zoom on a mac

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #RQK-569238]: two finger track pad zoom on a mac
  • Date: Wed, 27 Oct 2021 15:06:58 -0600

> Hi Yuan,
> Any idea what is causing this problem? Are there other mouse events coming
> in when the user does the trackpad scroll? Or is there a problem with
> handling the trackpad scroll?
> 
> -Jeff
> 
> 

The problem is OpenJDK return value is different compared to oracle JDK. 
Only rotate X and. Zoom in/out events coming from the Mac trackpad.

Previously, we check e.getWheelRotation(), and it always returns 0 in the 
trackpad.  Now we check e.getPreciseWheelRotation()
too to have the zoom in/out and rotate X.

Yuan

Ticket Details
===================
Ticket ID: RQK-569238
Department: Support IDV
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.