Okay, so this is starting to make some sense. We are forced to use Gnome and when I run some applications, I get an error: GTK-Message: GTKDialog mapped without a transient parent. This is discouraged.
So maybe it is trying to use the GTKDialog for the QFileDialog, and I get this error as it doesn't know how to use a QMainWindow for its parent. And then maybe if I don't use the native dialog like you suggest, it will work. I wasn't certain if I was using the native dialog because the documentation wasn't clear in Linux:
It never mentioned Linux so I assumed it was using the QFileDialog, but I think it is now using the GTKDialog so I will try disabling this and see what happens. Thanks for your helpOn Windows, and macOS, this static function will use the native file dialog and not a QFileDialog.
Bookmarks