I noticed that with gkt2 a modal dialog can not be moved with respect to the calling form, the calling form moves with it. It sounds like you are seeing something different.
It seems to be new behavior, and is annoying, but I figured it was a Ubuntu change.
I try make a simple example with Qt5.11.
The modal form in Qt application can move freely independently of the main form.
I'll make a bug report.
void MainWindow::on_pushButton_clicked() { QMessageBox MsgBox; MsgBox.setWindowTitle("Error"); MsgBox.setIcon(QMessageBox::Warning); MsgBox.setText("Konfirmasi"); MsgBox.setInformativeText("Yakin?"); MsgBox.setStandardButtons(QMessageBox::Ok|QMessageBox::Cancel); MsgBox.setDefaultButton(QMessageBox::Ok); MsgBox.exec(); }