I wanted suggest use Modeless mode.
In Qt Docs https://doc.qt.io/qt-5/qdialog.html#modeless-dialogs
says to use show() instead of exec() for Modeless mode.
For FreeCAD it is there: https://github.com/FreeCAD/FreeCAD/blob ... d.cpp#L371
Code: Select all
cDlg.exec();
It works if add show() before exec().
Code: Select all
cDlg.show();
cDlg.exec();
Not sure that is very right.
It works for me on Debian Sid. Maybe on other systems this is not the case.