Raw Image Guess extension wrong file dialog

Hi, I am using the latest stable 3D Slicer (4.11.20200930), and found a bug in an extension named “Raw Image Guess”. The input file selector dialog opens as a “Save file” dialog, instead of a “Open file” one.

A possible fix is to add:

self.ui.inputFileSelector.filters = ctk.ctkPathLineEdit.Files

I believe this bug was introduced recently, since this fix was also used in a module of my own, and appeared after updating to the newest stable 3D Slicer version.

Thanks for reporting. This is a regression in Slicer-4.11.20209030 that was fixed in https://github.com/Slicer/Slicer/commit/9aa9ed8b8aa06704ece1f0caa50d46cd7825ea4a.

Unfortunately, Slicer Preview Release is not functional yet (No images shown in slice viewers in latest preview release (Slicer-4.13.0)).

1 Like

@lassoan since this impacts more then just RawImageGuess, but other modules that use same dialog box, is possible to patch the current stable?

Yes, we should either patch Slicer-4.11, build Slicer-4.13 with VTK8, or fix VTK9 to work with Slicer-4.13 - see discussion here.

1 Like