Open GenevieveBuckley opened 2 years ago
I guess this is a problem related to OS, as it works for me on Windows (did not check Linux and MacOS). Would you mind trying this (found here):
from PyQt5.Qt import QApplication, QFileDialog
app = QApplication([])
opts = QFileDialog.Option()
#opts |= QFileDialog.DontUseNativeDialog
fs = QFileDialog.getOpenFileNames(None, "title", "/", "ftext", "", opts)
If this crashes, try uncommenting the opts |= QFileDialog.DontUseNativeDialog
line.
Describe the bug "Import" and "Export" buttons in Object List widget do not work correctly.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected the file dialog would stay open long enough for me to choose an output filename, and then some output data would be written to disk.
napari info napari: 0.4.15 Platform: macOS-12.3.1-arm64-arm-64bit System: MacOS 12.3.1 Python: 3.9.13 | packaged by conda-forge | (main, May 27 2022, 17:00:33) [Clang 13.0.1 ] Qt: 5.15.4 PyQt5: 5.15.7 NumPy: 1.23.1 SciPy: 1.9.0 Dask: 2022.8.0 VisPy: 0.9.6
OpenGL:
Screens:
Plugins:
Other packages Not applicable. A new conda environment was created for this bug report, like so
Additional context Add any other context about the problem here.