WorldWideTelescope / pywwt

Python interface to WorldWide Telescope :milky_way:
https://pywwt.readthedocs.io
BSD 3-Clause "New" or "Revised" License
51 stars 15 forks source link

Two-finger scroll zoom not working correctly in Qt6 #372

Open astrofrog opened 8 months ago

astrofrog commented 8 months ago

If I run the following in IPython:

from pywwt.qt import WWTQtClient
%gui qt
wwt = WWTQtClient()
wwt.set_view('Earth')

with PyQt 6.6 installed on MacOS X, if I try and zoom in/out with two-finger scroll, the zooming is erratic and sometimes goes in the opposite direction to the way it should go.

Carifio24 commented 8 months ago

Just as a test, I tried out the research app using the trackpad on my M3, and the zoom controls work fine (I tried both the latest version and 0.16.0, which is the minimum version pinned in the research app). Which would suggest to me that this is an issue specifically with WWT in Qt (rather than something at the web engine level).