Page MenuHomePhabricator

Sliders of QmitkNavigationToolCreationAdvancedWidget are buggy
Closed, ResolvedPublic

Description

When using the SpinBoxes modifing the tooltip works fine. But the sliders are buggy, the tooltip moves further after moving the sliders...

Event Timeline

I tried to reproduce this bug. It does not occur under Linux.

eisenman added a project: Restricted Project.Sep 29 2017, 9:21 AM

I checked again: It can be reproduced by rotating by y- or z-axis with the slider, e.g. move the y-axis slider to -180 degree. The preview does not fit to the value. If -180 is entered via the spin box directly, the preview is correct.

There's another buggy behavior related to the described one:

  • Open IGT Navigation Tool Manager
  • Create new tool storage
  • Add a tool
  • Click button 'Edit Tooltip' in tab 'Advanced'
  • Enter y-axis rotation: -20
  • Close dialog
  • Click button 'Edit Tooltip' again

--> -19 degree is shown in the spin box

This may be caused by the fact, that the values of the hidden dialog are note reused. They are recomputed from the surface, see QmitkInteractiveTransformationWidget::SetGeometry