Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
Description
When calling `SystemParametersInfo` with `SPI_SETWORKAREA` —which commonly happens when resolution changes or the task bar expands a few notches— ReactOS needs to resize maximized windows to keep them fitting inside of the available display dimensions.
Normal windows also change, manual testing shows that when resolution is reduced —or the taskbar makes the work area smaller, doesn't really matter— non-maximized windows that end up partially out of the new borders are moved by the OS to fit within the new area.
And if the area is too small they get forcefully resized either vertically or horizontally until they finally fit.
So, basically, no window is ever left floating out of the display surface.
–
References:
SystemParametersInfo in MSDN — http://msdn.microsoft.com/en-us/library/windows/desktop/ms724947%28v=vs.85%29.aspx
The function in ReactOS — https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/win32ss/user/ntuser/sysparams.c;#l973
Attachments
Issue Links
- relates to
-
CORE-16490 Implement DM_REPOSITION message
- Resolved