UBUNTU: Save and restore of window position/size/geometry, and moveEvent() do not work
-
On linux UBUNTU 22.04, I have a very simple program with a main window that either saves and restore window position+size or window geometry+state, and implements MainWindow::moveEvent() logging window position and size.
On Qt 5.15.2, 6.2.4, the program does its job as expected, for both position+size
or geometry+windows state.On Qt 6.4.2, 6.5.0, when position and size are saved the position is not saved
correctly (it always saves pos=@Point(-3 -30)), while the size is; when the
geometry and window state are saved, both are not saved correctly. The method MainWindow::moveEvent() is never called when the window is moved.You can see the full code here: https://gist.github.com/massimo-marino/22a998e53c28c8b45b7098e04db61bfc
Is this a known problem? If so, is a fix planned soon?
Is there a possible workaround in Qt 6.4.2/6.5.0?Cheers.
-
On linux UBUNTU 22.04, I have a very simple program with a main window that either saves and restore window position+size or window geometry+state, and implements MainWindow::moveEvent() logging window position and size.
On Qt 5.15.2, 6.2.4, the program does its job as expected, for both position+size
or geometry+windows state.On Qt 6.4.2, 6.5.0, when position and size are saved the position is not saved
correctly (it always saves pos=@Point(-3 -30)), while the size is; when the
geometry and window state are saved, both are not saved correctly. The method MainWindow::moveEvent() is never called when the window is moved.You can see the full code here: https://gist.github.com/massimo-marino/22a998e53c28c8b45b7098e04db61bfc
Is this a known problem? If so, is a fix planned soon?
Is there a possible workaround in Qt 6.4.2/6.5.0?Cheers.
@QtSkyLark said in UBUNTU: Save and restore of window position/size/geometry, and moveEvent() do not work:
Is this a known problem? If so, is a fix planned soon?
You can search here: https://bugreports.qt.io/secure/Dashboard.jspa