Page MenuHomePhabricator | MITK

Image navigator time slider moves twice
Open, Needs TriagePublic

Description

You have to press the up or down buttons really quickly or it will count it as two (or sometimes more) steps.
We think this is due to the functionality of holding one of the buttons to keep sliding and the timeout between two steps seems too short.

Event Timeline

jungsi created this task.Jul 6 2018, 1:38 PM

Could you please provide a data set in order to reproduce this bug (maybe from MITK-Data)?

jungsi added a comment.Jul 9 2018, 9:26 AM

Of course, steps to reproduce:

  • Load MITK-Data\3D+t-ITKIO-TestData\LinearModel_4D_arbitrary_time_geometry.nrrd
  • Doing a normal press should now step 2 time steps at once
  • Doing a really short press should allow you to single step

One more thing to try:

  • Start MITK in Debug configuration
  • Load MITK-Data\Pic2DplusT.nrrd
  • Stepping should work fine
  • Set a breakpoint on QmitkImageStatisticsReloadedView::OnTimeChanged
  • Stepping once should now always trigger the event twice (and the slider gets moved two steps as well)

Should also have mentioned that I tested this on branch T24182-newImageStatisticsPlugin.
Im building the master atm so I'll report if it has the same result

jungsi added a comment.Jul 9 2018, 3:34 PM

Using the most recent master on my laptop (my pc build failed) I couldn't reliably reproduce the issue.
Maybe it's specific to the imageStatistics branch or my machine.

floca added a subscriber: floca.Jul 10 2018, 10:38 AM