[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    good debugging project
From:       Andreas Mohr <amohr () student ! ei ! uni-stuttgart ! de>
Date:       1999-09-30 19:55:12
[Download RAW message or body]

Hello all,

a program called TGeb (tgeb.exe) from www.billiger-telefonieren.de
doesn't work the way it should:
It (re-)draws the complete main screen and then suddenly minimizes to
1x1.
The following trace is guilty:

Call USER.232: SETWINDOWPOS(0x0848,0xfffe,0x0000,0x0000,0x0000,0x0000,0x0050) ret=03b7:6434 ds=02d7
trace:win:SetWindowPos hwnd 0848, swp (0,0)-(0,0) flags 00000050
trace:win:SetWindowPos  current (281,176)-(753,602), style 16cf0000
CallTo16(func=03ef:0000,ds=02d7,0x0848,0x0046,0x0000,0x009f,0x0954) ss:sp=02d7:6b8e
     AX=02d7 BX=0000 CX=0000 DX=0000 SI=0000 DI=0000 BP=6bb8 ES=02d7 FS=0000
Call USER.129: GETCLASSWORD(0x0848,0xffee) ret=03ef:0041 ds=02d7
Ret  USER.129: GETCLASSWORD() retval=0x0006 ret=03ef:0041 ds=02d7
.
.
.
Ret  USER.107: DEFWINDOWPROC() retval=0x00000000 ret=03ef:11e2 ds=02d7
CallTo16() ss:sp=02d7:6b8e retval=0x00000000
trace:win:WINPOS_SendNCCalcSize 0,73-0,0
trace:win:EVENT_ConfigureNotify 0848 resizing from (0,0) to (1,1)
trace:win:SetWindowPos hwnd 0848, swp (0,0)-(1,1) flags 80000016
trace:win:SetWindowPos  current (0,0)-(0,0), style 16cf0000
.
.
.
Ret  USER.232: SETWINDOWPOS() retval=0x0001 ret=03b7:6434 ds=02d7

So obviously the program just wants to issue the SetWindowPos() call
to place its main window directly below all the TOPMOST windows
on the desktop:
SetWindowPos16(hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE|SWP_SHOWWINDOW)

As it seems to merely want to change the Z order, it sets all window
coordinates of this function call to 0.

Wine misunderstands that -> minimizing to 0x0.
And then somehow the coordinates get adapted to 1x1 later, as you can see.

Does someone want to debug that more ?
Maybe the (hard-working !!) Corel guys ? ;)

-- 
Andreas Mohr		Tel.: +49 7159 800604 private (preferred)
Stauferstr. 6			       927883 main line (family)
D-71272 Renningen	http://www.germany.net/teilnehmer/100.30936/
Germany			languages: german, english, french


=========================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic