Opened 6 years ago

Closed 2 years ago

#2143 closed enhancement (fixed)

Mouse mode that centers and pivots

Reported by: yazan.abbas@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc: Tristan Croll
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description (last modified by Tom Goddard)

The following bug report has been submitted:
Platform:        Linux-4.15.0-54-generic-x86_64-with-debian-stretch-sid
ChimeraX Version: 0.91 (2019-06-25)
Description
Feature request: a mousemode command that centers the view and sets the pivot point where the mouse is clicked, similar to what is currently available in Chimera. Such a feature would be really helpful, especially when moving around large and complex molecules

OpenGL version: 3.3.0 NVIDIA 418.56
OpenGL renderer: GeForce RTX 2070/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Cc: Tristan Croll added
Component: UnassignedGeneral Controls
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionMouse mode that centers and pivots
Type: defectenhancement

comment:2 by Tom Goddard, 2 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

This was added as the "center" mouse mode. Ticket #9183

I added a new mouse mode called "center" that centers what is shown in the
view (by moving the camera) and sets the center of rotation to the clicked
atom, residue, bond, pseudobond, surface point, volume surface. The
camera motion is animated over 10 frames. You can assign the mode to the
right mouse button using command

mouse right center

You can put that command using the ChimeraX, Settings / Startup / Execute
these commands at startup if you want this to be the default.

Note that ctrl-right click is not usable on the Mac in ChimeraX because of
a limitation of the Qt window toolkit. Qt always reports ctrl-left click
as ctrl-right click. So ChimeraX has no way to know when it gets a ctrl-
right click whether it is really a ctrl-left click or a ctrl-right click.
Since ctrl-left click is used for selection in ChimeraX, it always
interprets ctrl-right as ctrl-left click.

The new "center" mode like the existing "pivot" mode which sets the center
of rotation but does not center the view.

Note: See TracTickets for help on using tickets.