Page MenuHomePhabricator

After an interactor has been removed from the mitk::Dispatcher it is still kept as selected interactor
Closed, WontfixPublic

Description

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.

Event Timeline

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

Branch for master is 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.

kislinsk removed saruji as the assignee of this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: saruji.

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