The member m_SelectedInteractor keeps the selected interactor even if it was removed from the m_Interactors list.
This can lead to the case that events can still be handled by an interactor which should already have been removed.
The member m_SelectedInteractor keeps the selected interactor even if it was removed from the m_Interactors list.
This can lead to the case that events can still be handled by an interactor which should already have been removed.
Simple solution:
In method mitk::Dispatcher: Reset selected interactor if it is the interactor to be removed
User dsaruji has pushed new remote branch:
bug-19819-reset-selected-interactor-after-remove-snapshot
User dsaruji has pushed new remote branch:
bug-19819-reset-selected-interactor-after-remove
But m_SelectedInteractor is a weak pointer, I would expect it not to hold any interactor as long as it isn't still hold by some true owner.
Hi there! 🙂
This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑
Best wishes,
The MITK devs