summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2024-08-20 15:56:51 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2024-08-22 14:13:07 +0200
commit33874a9424cd03c21ca9986a39c383b3689f03d2 (patch)
tree4bdde6f587d32a222fde5bced0254fe735a5421e /src/corelib/tools/qcommandlineparser.cpp
parentf951c11586081efea108ea5b6a7028c672e12c2a (diff)
QWindowsWindow: Work around offset bug in GetWindowPlacement()
GetWindowPlacement() stores wrong positions in the &WINDOWPLACEMENT argument's ptMaxPosition member on Windows 10. (1) Each time a fixed height window is maximized, ptMaxPosition moves - down by the task bar's height, if the task bar is on top - right by the task bar's width, if the task bar is on the left (2) The frame margins' left offset (typically -8) is not respected. On Windows 10, set ptMaxPosition to {0, 0} adjusted by the frame margins' left offset. Fixes: QTBUG-123752 Pick-to: 6.8 6.7 6.5 6.2 Change-Id: I8bbd63d93a7648921b703ff6f3e09c4cf2999be2 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions