-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.18, 5.15.19
-
None
-
Windows 11 English
On Windows11 QFileDialog let the application crash/hang.
Especially if it is used with a dialog/other widget than from main application.
Occasionally it happens also when called from MainWindow.
Here are sample calls:
QString path = QFileDialog::getExistingDirectory(this, tr("Select folder"), QDir::currentPath());
QString fileName = QFileDialog::getOpenFileName(this, tr("Open file"), QStandardPaths::writableLocation(QStandardPaths::DesktopLocation),
tr("License (*.lic)"));
Workarround: Set QFileDialog::DontUseNativeDialog
But ofcourse the resulting dialog breaks the user experience ....