Sorry to spam the message board but I just tried this and it is so much better now, thank you Tom! Now it behaves exactly like Chimera, much nicer for navigating!

Cheers
Oli

On Aug 22, 2023, at 10:04 PM, Oliver Clarke <olibclarke@gmail.com> wrote:

Ah great, thanks so much for following up on this Tom, it is much appreciated, and thank you for your patience as always!

Cheers
Oli


On Aug 22, 2023, at 9:57 PM, Tom Goddard <goddard@sonic.net> wrote:

Thanks Oli,

  I compared the ChimeraX and Chimera trackpad pinch code and was surprised to see that the Chimera code had two tests that restrict when touches are interpreted as pinch zoom and twist. Chimera would only do a zoom or a twist while ChimeraX allowed both at the same time. I changed the ChimeraX code to follow the Chimera rules and indeed it is much easier to control.  These fixes will be in the ChimeraX daily build dated August 22, 2023.

  Thanks for reporting this.  These subtle behaviors make a big difference in how usable ChimeraX is.

Tom


On Aug 22, 2023, at 6:17 PM, Oliver Clarke <olibclarke@gmail.com> wrote:

Thanks Tom - here is the screen recording I meant to upload, apologies the other one was rather uninformative!


On Aug 22, 2023, at 9:13 PM, Tom Goddard <goddard@sonic.net> wrote:

Hi Oli,

  I see that ChimeraX trackpad twist introduces a lot of unintended zooming.  I'll investigate that.  The ChimeraX algorithm came from Chimera so I think it is nearly the same.  The multi-touch trackpad events come from the Qt window toolkit in ChimeraX while in Chimera it used native macOS touch APIs in Objective C.  That may be responsible for some differences.

Tom


On Aug 22, 2023, at 5:53 PM, Oliver Clarke <olibclarke@gmail.com> wrote:

Hi Tom,

Yes I’ve tried playing with that, and I agree 2 is better, but I still think there is more to it than that.

Here is a comparison where I try to perform the same sequence of operations in Chimera and ChimeraX, on the same model - first pinch-zooming, then twist-rotating (this has the twist sensitivity set to 2 for ChimeraX):

<qdzzha5lee6k0fu.png>

In Chimera, both the pinch to zoom and the twist to zoom work pretty well independently - you do get some mixing but not much.

In ChimeraX, even with the modified settings, when I pinch to zoom, it rotates quite a bit, and when I twist to rotate, it ends up zooming quite a bit more than I would like. Is this how it looks for you? I tried to make the gestures I used as close to identical as I could although of course hard to make them exactly the same, but it gives a sense of what I’m seeing hopefully

Cheers
Oli

On Aug 22, 2023, at 8:37 PM, Tom Goddard <goddard@sonic.net> wrote:

Hi Oli,

  Comparing ChimeraX trackpad pinch zoom to Chimera I observed that ChimeraX exhibits more rotational jitter.  I've reduced the jitter by reducing the ChimeraX trackpad twist speed from 6 to 2.  When you place two fingers on the trackpad and move them in a circle about the midpoint between the fingers this twist produces a rotation of the model about an axis perpendicular to the screen.  A 90 degree finger twist was producing about a 450 degree rotation in ChimeraX while in Chimera it produces only 180 degree rotation.  More details here:


  You can adjust the twist speed in your current ChimeraX using menu ChimeraX / Settings, Trackpad tab, Trackpad Twist Speed option.  If you want the most stable zoom you can even set that to 1 or 0 so that twist is minimized or eliminated.

Tom


On Aug 22, 2023, at 2:58 PM, Tom Goddard via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hi Oli,

 I agree pinch zoom in ChimeraX on a Mac trackpad always does some rotation too.  It may be in Chimera it better separated pinch zoom from two finger rotation.  I'll investigate.

 Did you know that 4-finger drag up or down on a Mac trackpad in ChimeraX does a zoom?

Tom


On Aug 22, 2023, at 1:54 PM, Oliver Clarke via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hi,

The trackpad zoom/rotation settings in ChimeraX seem very different from “old” Chimera. Is there any way to replicate the behavior from Chimera?

Specifically, when I pinch to zoom in ChimeraX, I often find the view rotating a lot, unless I am very careful, which does not happen in Chimera. I have tried playing around with the trackpad twist sensitivity, but so far have been unable to find settings similar to the default in Chimera.

Cheers
Oli
_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/



_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/