http://bugs.winehq.org/show_bug.cgi?id=23940
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #7 from Dan Kegel dank@kegel.com 2010-08-09 01:49:04 --- Thanks. To track the messages down a bit, I added a couple trace statements to unpack_message, and ran the commands
wineserver -k $WINE notepad & sleep 1 WINEDEBUG=+relay,+win,+msg $WINE winemine > winemine.log 2>&1 & sleep 1 $WINE python.exe swpfail-testcase.py wineserver -k
At the end of winemine.log, I saw
001d:Call user32.GetMessageA(0032fd7c,00000000,00000000,00000000) ret=7ec0e14b trace:msg:peek_message got type 5 msg 80000001 (WM_WINE_SETWINDOWPOS) hwnd 0x20028 wp 0 lp 41f864 trace:msg:unpack_message got WM_WINE_SETWINDOWPOS trace:msg:unpack_message line 1209: size 28, sizeof(ps->wp) 40, returning FALSE
It looks like unpack_message is returning false, and the message is being ignored by winemine, because the size being passed to unpack_message is wrong?
Looks like this might be a regression caused by
commit 5c652698970c6b8cf14a4515e4ebc6251640e5c2 Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 30 20:30:50 2010 +0200
user32: Pack the WINDOWPOS structure in messages to allow crossing 32/64 boundaries.
This change was introduced after wine-1.1.41. Does your test work with wine-1.1.41?
(Also, what app is this affecting?)