Open Bug 1177743 Opened 10 years ago Updated 3 years ago

WM_WINDOWPOSCHANGED messages that get deferred will effectively ignore any constants used for hWndInsertAfter.

Categories

(Core :: IPC, defect)

All
Windows
defect

Tracking

()

People

(Reporter: bobowen, Unassigned)

Details

If we defer WM_WINDOWPOSCHANGED messages, when we process them and turn them back into SetWindowPos calls we call IsWindow [1] on the stored hWndInsertAfter parameter and ignore it, if it is not a window. This parameter can also contain certain constants that have different meanings and are not window handles, so these will get ignored. [1] https://hg.mozilla.org/mozilla-central/file/0b2f5e8b7be5/ipc/glue/WindowsMessageLoop.cpp#l1332

The code there seems unchanged since then, so this might still be relevant. But it lives in the IPC component.

Component: DOM: Content Processes → IPC
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.