Camera_Control icon indicating copy to clipboard operation
Camera_Control copied to clipboard

Browse button freezes

Open hausmanns opened this issue 2 years ago • 0 comments

Bug description

Pressing the "Browse" button to select the output directory makes the GUI freeze.

Operating System

Windows 10

Camera_control version

camera36, commit: c82b021823d8a45a988ddd5e9b50cc027e480dbe (nov 19 2022, latest as of now)

Steps To Reproduce

Launch the GUI, press Browse.

Relevant log output

None

Anything else?

The function that seems to freeze is filedialog.askdirector() https://github.com/AdaptiveMotorControlLab/Camera_Control/blob/master/camera_control_GUI.py#L44

Using filedialog.askopenfilename() works, but this requires a file, however we want to be able to specify an empty directory.

hausmanns avatar Jan 10 '23 10:01 hausmanns