Closed dresco closed 1 year ago
FWIW, I've bodged around it temporarily with this..
$ git diff
diff --git a/src/camotics/qt/FileDialog.cpp b/src/camotics/qt/FileDialog.cpp
index 4329c04..d1bd7fc 100644
--- a/src/camotics/qt/FileDialog.cpp
+++ b/src/camotics/qt/FileDialog.cpp
@@ -49,6 +49,8 @@ QString FileDialog::open(const QString &title, const QString &filters,
QFileDialog dialog(&win, title, qPath, filters);
+ dialog.setOption(QFileDialog::DontUseNativeDialog);
+
if (save || anyFile) dialog.setFileMode(QFileDialog::AnyFile);
else dialog.setFileMode(QFileDialog::ExistingFile);
Particularly macOS users don't like it when we use non-native dialogs. This seems more like a Fedora problem to me.
Hi, trying to understand an issue I'm facing running on Fedora (building from source).
Any file open/save operation that launches the native Gnome file dialogs causes the app to become unresponsive. If I run it with sudo, then it uses (what look like) the Qt dialogs & all works fine.
Just launching & then clicking on save project is enough to reproduce this here. There are no errors logged from the application when this happens, but a couple of lines that may be relevant in the system logs;
Wondering whether you have any tips for troubleshooting? Or is there a way to force use of the Qt dialogs for a normal user session?