Crash in QVTKRenderWindowInteractor for some key-combinations VTK 8.1 (observed for Mac)
System:
- vtk-8.1.0, with Qt Support
- MacOS 10.11
How to reproduce:
- Open a window that runs an instance of QVTKRenderWindowInteractor
- Press Shift+Ctrl
Expected behavior:
- Nothing
Observed behaviour:
- Crash
- Exception Message:
File "site-packages/vtk/qt/QVTKRenderWindowInteractor.py", line 440, in keyPressEvent
TypeError: object of type 'NoneType' has no len()
What to do:
-
QVTKRenderWindowInteractor.py, line 440: Check if keySym
is None -
QVTKRenderWindowInteractor.py, line 607: Understand why _qt_key_to_key_sym
returns None
Edited by David Gobbi