HomePhabricator
Diffusion MITK f5a5be1edde0

Prevent auto repeat mode from infinite loop

Description

Prevent auto repeat mode from infinite loop

Summary: Do not set new position if no slices are available for scrolling

Test Plan:
manual testing

  • open MITK workbench
  • enable PACS mode
  • scroll over the limits (0) using the mouse wheel
  • MITK does not freeze anymore
    • compare to latest develop including D538
  • load an image
  • scroll over the limits using the mouse wheel
  • auto-repeat wraps around the limits

Reviewers: kislinsk, O1 MITK Reviewer Group I, floca

Reviewed By: O1 MITK Reviewer Group I, floca

Subscribers: floca, kalali, kislinsk

Maniphest Tasks: T24635

Differential Revision: https://phabricator.mitk.org/D558

Details

Provenance
kalaliAuthored on Oct 15 2021, 1:32 PM
kislinskCommitted on Oct 15 2021, 1:32 PM
kislinskPushed on Oct 15 2021, 1:33 PM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITKeb214f06addb: Prevent auto repeat mode from infinite loop
rMITK15955aa5ec8f: Send active render window
Branches
Unknown
Tags
Unknown
Tasks
T24635: PACS scroll leads to an infinite loop if no image is loaded