Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.3
-
None
-
The compiler in use is MSVC 14.40.33807 with VS 2022 17.10.1 on Windows 10.
The project is generated using vcpkg with qtbase dependency with version 6.5.3.
Description
When you take a window by the title bar and drag it to another monitor and aero-snap to the top to maximize it, the normal geometry of the window does not get updated. It is still on the previous screen, so when you press restore, the window returns to the other screen.
The normal geometry changes only if the window is placed on another screen in normal mode.
This problem can be easily reproduced with a simple program:
#include <QApplication> #include <QMainWindow> int main(int argc, char** argv) { QApplication app(argc, argv); QMainWindow qMainWin; qMainWin.show(); return app.exec(); }