diff options
| author | Axel Spoerl <[email protected]> | 2024-10-03 18:52:45 +0200 |
|---|---|---|
| committer | Axel Spoerl <[email protected]> | 2024-10-10 08:11:35 +0000 |
| commit | 06fcb3dfe69e175f94d112ecef45b091598f5ae5 (patch) | |
| tree | 363e1d5f4bf069cbfed9d131bff22013eb63288b /src/plugins/platforms/wasm/qwasmtheme.cpp | |
| parent | 9154bb8f19815acc64b69b85a8c0e5ab8b96ec49 (diff) | |
QWindowsWindow: Refactor corrections related to task bar on top / left
33874a9424cd03c21ca9986a39c383b3689f03d2 corrected a size-contrained
window's position when maximized. Restoring such a window's size
moved the window downwards as well, if the task bar was on top. With
the task bar on the left, such maximizing the window caused parts of it
to be off screen to the right. These bugs affect only Windows 10,
because Windows 11 only allows the task bar to be at the bottom.
Factor out all corrections to QWindowsWindow::correctWindowPlacement().
Correct placement when restoring size of a maximized, size-constrained
window.
Correct width of a height-constrained, maximized window.
Correct height of a width-constrained, maximized window.
Change-Id: I9a1e0cf4708e8c579595fdbdc7f16b927be53b05
Done-with: Johannes Grunenberg <[email protected]>
Fixes: QTBUG-129405
Fixes: QTBUG-129679
Task-number: QTBUG-123752
Pick-to: 6.8 6.5
Reviewed-by: Oliver Wolff <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmtheme.cpp')
0 files changed, 0 insertions, 0 deletions
