ISISNeutronMuon / MDANSE

MDANSE: Molecular Dynamics Analysis for Neutron Scattering Experiments
https://www.isis.stfc.ac.uk/Pages/MDANSEproject.aspx
GNU General Public License v3.0
23 stars 5 forks source link

Disable some or all of the QVTKRenderWindowInteractor hotkeys #576

Closed ChiCheng45 closed 1 month ago

ChiCheng45 commented 1 month ago

Description of the error I think we might want to try to disable some or all of the QVTKRenderWindowInteractor hotkeys. See https://docs.vtk.org/en/latest/api/python/vtkmodules/vtkmodules.qt.QVTKRenderWindowInteractor.html#vtkmodules.qt.QVTKRenderWindowInteractor.QVTKRenderWindowInteractor.

The problem is that a user may accidentally hit one of the hotkeys and change the behavior of the 3D view. They might think there is some bug. For example, hitting 'j' key changes it to joystick mode so that holding the mouse button rotates the 3D view. Only by hitting the 't' key does it change back to the default mode where you hold the mouse button and drag the mouse to rotate the 3D view.