invesalius/invesalius3

Silent crash on turning off Navigation mode

Rakhesis opened this issue · 1 comments

image

Turning off TMS-mode results in crash with no error report. This crash happens inside default_tasks.py in self.uppertaskpanel.Destroy().

Further investigation reveals that there are multiple GUI elements inside the UpperTaskPanel that cause a silent crash when destroyed:

task_tracktography.py:
spin_offset
spin_radius
spin_opacity

task_efield.py:
spin_sleep
spin_threshold
spin_ROI_size
input_coil2
input_coil3 etc.

task_navigator.py:
txtctrl_fre

If all the elements above are commented, there is no crash.

All offending elements are of type TextCtrl or SpinCtrlDouble (which contain a TextCtrl).

@tfmoraes Do you know anything that could help solve the issue?