
Hi Alexis, Tristan is right. When you press a mouse button it looks at which modifier keys are held down when the button is pressed and that is how it chooses the mode. ISOLDE assigns zoom to shift right mouse button. Without ISOLDE there is nothing assigned to shift right mouse button so it uses whatever mode the right mouse button is assigned to, translate selected atoms in your case. Then the translate selected models mode can choose to do different things based on what modifier keys are held down (shift, ctrl, alt). So if you press the right button without the shift key, then press the shift key it will allow the translate selected atoms mode to rotate the selected atoms. Your idea to explicitly assign shift right to rotate selected atoms ui mousemode right "translate selected atoms" ui mousemode shift right "rotate selected atoms" should work. And when I try it on Mac ChimeraX 1.6 with ISOLDE working it does work with Mac trackpad and Mac mouse -- shift right press does rotate (as does right press shift). So I'm not sure why it didn't work for you. Tom
On Nov 9, 2023, at 1:13 PM, Alexis Rohou via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi there,
Wondering if anyone else gets this behavior:
When ISOLDE is running, setting the right mouse click to translate selected atoms does NOT associate shift-right-click with rotating selected atoms; instead, shift-right click does a zoom.
In addition, if I try to force it by issuing the two commands below, the shift right click still isn't a rotate selected atom; instead, it does a translate selected atoms. ui mousemode right "translate selected atoms" ui mousemode shift right "rotate selected atoms"
My workaround is to use alt-right for rotating instead. That does work: ui mousemode right "translate selected atoms" ui mousemode alt right "rotate selected atoms"
This is with ChimeraX 1.6.1, but I'm pretty sure I noticed this behavior in earlier versions also.
Tristan recently posted a screen capture where it's clear he doesn't have this problem, but he's on Windows and I'm on Mac, so I wonder whether that might have something to do with it.
Any ideas?
Cheers, Alexis _______________________________________________ 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/