Page MenuHomePhabricator

"Scan directory" in MITK DICOM Browser freezes application on MacOS
Closed, ResolvedPublic

Assigned To
Authored By
aklein
Feb 22 2023, 5:04 PM
Referenced Files
F2635794: giphy.gif
Mar 16 2023, 3:23 PM
F2635774: Screen Shot 2023-03-16 at 7.41.45 AM.png
Mar 16 2023, 12:43 PM
F2631809: MITK_T29469.mov
Feb 27 2023, 1:32 PM
F2625774: Screen Shot 2023-02-22 at 10.59.02 AM.png
Feb 22 2023, 5:04 PM

Description

The whole application freezes when I try to scan the directory in the MITK DICOM browser. I am not able to click anything or even close the Workbench properly.

OS: MacOS Monterey (Version 12.3)
MITK Version: v2022.10

Screen Shot 2023-02-22 at 10.59.02 AM.png (836×1 px, 162 KB)

I am aware, the installer says "MacOS Catalina 10.15". But after I tried MITKWorkbench v2022.04 and had no issues, I thought this was still interesting.

Event Timeline

aklein triaged this task as Normal priority.Feb 22 2023, 5:04 PM
aklein created this task.
kislinsk raised the priority of this task from Normal to Needs Triage.Feb 23 2023, 6:47 AM
kislinsk edited projects, added MITK (v2023.04), Request for Discussion; removed MITK.
kislinsk moved this task from Backlog to MITK Meeting on the Request for Discussion board.

Hi André, does it freeze for you when scanning the MITK-Data/3D+t-Heart directory? I try to narrow it down but this directory works for me for example.

Hi Stefan,

I added a short video to show you (it's 28 MB, I hope that is ok, if not, I can delete it and share it somewhere else). It freezes for me, when I click the "Scan directory" button.

#WhyDidTHeyGiveMeAMacbook >.<

I see, I then should probably blow the dust off of the MacBook in my drawer and start to suffer as well. :) / :(

kislinsk removed a project: Request for Discussion.

The issue is:

Modules/DICOMUI/src/QmitkDicomExternalDataWidget.cpp:219
m_ImportDialog->setWindowModality(Qt::ApplicationModal);

Fix:

Modules/DICOMUI/src/QmitkDicomExternalDataWidget.cpp:219
m_ImportDialog->setWindowModality(Qt::WindowModal);

It appeared a little strange to me that the application wasn't really frozen but it seemed like another window had the exclusive focus. The main window could still be closed for example yet the application kept running. Turns out, macOS cannot handle Qt::ApplicationModal anymore I guess.

Deleted branch from rMITK MITK: bugfix/T29469-FixScanDirectoryFreeze.

@kislinsk Thank you, I will test it.

First thing I noticed: An empty Window opens when I open the DICOM browser. I can change the focus to the main window, but I cannot close the empty one:

Screen Shot 2023-03-16 at 7.41.45 AM.png (996×1 px, 574 KB)

@kislinsk Thank you, I will test it.

First thing I noticed: An empty Window opens when I open the DICOM browser. I can change the focus to the main window, but I cannot close the empty one:

Screen Shot 2023-03-16 at 7.41.45 AM.png (996×1 px, 574 KB)

giphy.gif (480×480 px, 5 MB)