The main screen and dialogs are always popup at point(0,0) after I upgrade my QT to 6.4.2.
-
After I upgrade to QT 6.4.2, all dialogs are pop up at point(0,0), even I create a simple test project. Everything was good in QT5.
I've tried to call move() after show() as below, it's still pop up at point(0,0).
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
w.move(200, 200);
return a.exec();
}
I also tried to create QDialog and QMessageBox, they all pop up at point(0,0) and cannot be moved by calling move();
Thanks for help!! -
IIRC, main application window position is just a hint to the window manager, and the manager is free to override the location. What window manager/DE is it being run under? That may give a clue.