Page MenuHomePhabricator

PACS like mouse interaction interferes with segmentation tool interaction
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Activate PACS like mouse interaction
  2. Activate left mouse button zooming
  3. Activate a tool and start contouring

You will see that contouring and zooming is done simultaneously.

Event Timeline

Christian could you have a look at this today?

User webechr has pushed new remote branch:

bug-18383-Reactivate-InteractionLegacy

can be solved by re-activating code that, changes the interaction scheme whenever a tool is activated, and switches it back when the user is done.

the pushed branch fixes this, and interaction tests are still running.

the underlying problem which makes this neccessary is, that the tools are implemented as observers as are the display interactions.

this violates the "observers dont modify data" principle and therefore causes this problems. in the longrun we might consider re-structuring the ToolManager approach ...

[6d6a9c]: Merge branch 'bug-18383-Reactivate-InteractionLegacy'

Merged commits:

2014-11-05 18:26:42 Christian Weber [1970c4]
This has been implemented before but has been removed.
Now it's back to: If a (segmentation)tool is activated, the interaction is set
to a default behavior and after deactivating, it is restored to the precious one (PACS/MITK)