You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Win32] Fix wrong layout when opening shell or reparenting control #2608
In multiple situation, relayouting due to DPI change events does not
work as expected:
- When opening child shells, they may be relayouted after being opened
if their position changed to a different monitor between the OS handle
was created and a new position was set
- When reparenting controls between different shells, the target shell
may not be properly relayout at all
Since the user experience when performing these two cases asynchronously
is not good anyway (e.g., reparenting leads to unexpected asynchronous
relayouting operations), this change adapts the two use cases to process
the DPI change synchronously.
Fixes#2608
0 commit comments