[PATCH] user32/tests: Fixed SetParent test on 64bit Vista

Austin Lund austin.lund at gmail.com
Sun Apr 3 20:28:54 CDT 2011


On 1 April 2011 14:03, Dmitry Timoshkov <dmitry at codeweavers.com> wrote:
> Austin Lund <austin.lund at gmail.com> wrote:
>
>> --- a/dlls/user32/tests/msg.c
>> +++ b/dlls/user32/tests/msg.c
>> @@ -12681,6 +12681,7 @@ static const struct message WmSetParentSeq_2[] = {
>>      { WM_WINDOWPOSCHANGING, sent|wparam, SWP_HIDEWINDOW|SWP_NOSIZE|SWP_NOMOVE },
>>      { EVENT_OBJECT_HIDE, winevent_hook|wparam|lparam, 0, 0 },
>>      { WM_WINDOWPOSCHANGED, sent|wparam, SWP_HIDEWINDOW|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE },
>> +    { HCBT_SETFOCUS, hook|optional },
>>      { WM_NCACTIVATE, sent|wparam, 0 },
>>      { WM_ACTIVATE, sent|wparam, 0 },
>>      { WM_ACTIVATEAPP, sent|wparam, 0 },
>
> This does look correct. It's pretty strange that other Windows versions
> don't send HCBT_SETFOCUS notification before WM_KILLFOCUS (which is right
> after WM_ACTIVATEAPP in the message sequence).
>

Is there any obvious reason why this passes on the testbot when I sent
it myself, but the automated tests still fail?

http://test.winehq.org/data/123e4ad41d81bf4edc56eeab9f3cece9b511f690/vista_wtb-wvistax64-32/user32:msg.html

The reported sequence seems to suggest that all the activate messages
are skipped. (?)



More information about the wine-devel mailing list