Details
-
Bug
-
Resolution: Done
-
P5: Not important
-
4.8.6
-
c7634050d9675006ceb4dd0c17846d18ec0f24c5
Description
According to documentation:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633518%28v=vs.85%29.aspx
Before calling GetWindowPlacement, set the length member to sizeof(WINDOWPLACEMENT). GetWindowPlacement fails if lpwndpl-> length is not set correctly.
In Qt 4.x, this is uninitialized in QWidgetPrivate::setGeometry_sys()
Attachments
For Gerrit Dashboard: QTBUG-40466 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
90784,2 | qwidget_win.cpp: Initialize WINDOWPLACEMENT correctly. | 4.8 | qt/qt | Status: MERGED | +2 | 0 |