Page MenuHomePhabricator

Scrolling direction should be inverted
Closed, ResolvedPublic

Description

As was pointed out by a physician, MITKs scrolling direction is inverted when compared to other viewers, like e.g. a PACS workstation:

Moving the mouse down in scrolling mode will actually scroll up in the slice stack (move towards the head), moving the mouse away from the user will scroll towards the 'feet' of the 'patient'.

In order to improve acceptance by medical users, the scrolling direction should be inverted.

Event Timeline

I am not sure this is the best way to handle this. Could you change the code so that scrolling direction becomes a configurable option? You could declare the direction pointed out by the physician to be the default, but applications should be able to invert this direction by simply settings some flag.

The modificationd document has been extended. The scrolling direction will now be configurable by setting a bool flag in the listener and the renderWindow, respectively:

mitk::DisplayVectorInteractorScroll::SetInvertScrollingDirection( bool )
mitk::RenderWindowBase::SetInvertScrollingDirection( bool )

[a7524c]: Merge branch 'bug-8802-scrolling-direction-rebased'

  • bug-8802-scroll

Merged commits:

2011-07-20 10:07:12 Markus Engel [ce017d]
inverting scrolling direction for mousewheel interaction


2011-07-20 10:06:50 Markus Engel [4c6cb1]
inverting scrolling direction for scrolling-interactor

has been fixed and integrated into master