FYI: ControlSpy has stopped working

Guy L. Albertelli galberte at neo.lrun.com
Mon Jun 11 22:42:34 CDT 2001


-----Original Message-----
From: Alexandre Julliard <julliard at winehq.com>
To: andi at rhlx01.fht-esslingen.de <andi at rhlx01.fht-esslingen.de>
Cc: Gerard Patel <gerard.patel at nerim.net>; Wine Devel
<wine-devel at winehq.com>
Date: Monday, June 11, 2001 4:52 PM
Subject: Re: FYI: ControlSpy has stopped working


>- ControlSpy refresh (?? needs more details)
>


The ControlSpy problem seems to be related to not repainting children
windows of the rebar control. The attached traces show (+x11drv,+win,+rebar)
for the 6/1 and 6/9 CVS. The 6/9 has submitted patch for zero client rect
applied. If you want the full traces, let me know.

Thanks,

Guy Albertelli
-------------- next part --------------
This is with the following patch applied:
	Gerard Patel [PATCH] zero size client window
The patch eliminates some err: conditions due to client testing.

Current dir /win98/Rdhat/test-pgm/controls
This is PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/albertel/bin:/home/albertel/t1/mywine
This is THISWINE /home/albertel/t1/mywine
/home/albertel/t1/mywine/wine -managed -winver win95 -debugmsg +x11drv,+win,+rebar G:\Rdhat\test-pgm\controls\rebar.exe
Could not stat /mnt/winflp (No such file or directory), ignoring drive A:
......
trace:win:WIN_FindWinToRepaint skipping window 1b68
trace:win:WIN_FindWinToRepaint skipping window 17ac
trace:win:WIN_FindWinToRepaint skipping window 15dc
trace:win:WIN_FindWinToRepaint skipping window 1710
trace:win:WIN_FindWinToRepaint found 1908
                                     ^^^^^
	This is the first attempt to paint the REBAR window

trace:rebar:REBAR_WindowProc hwnd=1908 msg=f wparam=0 lparam=0					WM_PAINT
trace:x11drv:X11DRV_ScrollWindowEx 12d8, 0,-12 hrgnUpdate=0000 rcUpdate = (nil) rc=(0,0-126,132) 0007
trace:x11drv:X11DRV_ScrollDC 0088 0,-12 hrgnUpdate=0ea2 rcUpdate = (nil)
trace:x11drv:X11DRV_ScrollDC cliprc = (0,0,126,132)
trace:x11drv:X11DRV_ScrollDC rc = (0,0,126,132)
trace:win:RedrawWindow 12d8 (0000) NULL 0ea2 box (0,120-126,132) flags=0285
trace:win:RDW_UpdateRgns 	hwnd 12d8 [0eaa] -> hrgn [0000], flags [0285]
trace:win:RDW_Paint 	hwnd 12d8 [0eaa] -> hrgn [0000], flags [0285]
trace:rebar:REBAR_WindowProc hwnd=1908 msg=85 wparam=ef6 lparam=0				WM_NCPAINT
trace:rebar:REBAR_NCPaint rect (0,0)-(277,57)
trace:win:BeginPaint hwnd = 1908, hrgnUpdate = 0e96, 
trace:win:BeginPaint hdc = 0088
trace:win:BeginPaint box = (0,0 - 277,53)
trace:x11drv:X11DRV_ScrollWindowEx 12d8, 0,-12 hrgnUpdate=0000 rcUpdate = (nil) rc=(0,0-126,132) 0007
trace:x11drv:X11DRV_ScrollDC 0c88 0,-12 hrgnUpdate=0ea2 rcUpdate = (nil)
trace:x11drv:X11DRV_ScrollDC cliprc = (0,0,126,132)
trace:x11drv:X11DRV_ScrollDC rc = (0,0,126,132)
trace:win:RedrawWindow 12d8 (0eaa) NULL 0eb2 box (0,108-126,120) flags=0005
trace:win:RDW_UpdateRgns 	hwnd 12d8 [0eaa] -> hrgn [0eb6], flags [0005]
trace:win:RDW_Paint 	hwnd 12d8 [0eaa] -> hrgn [0eb6], flags [0005]
trace:win:RedrawWindow 12d8 (0eaa) NULL 0ea2 box (0,120-126,132) flags=0285
trace:win:RDW_UpdateRgns 	hwnd 12d8 [0eaa] -> hrgn [0eb2], flags [0285]
trace:win:RDW_Paint 	hwnd 12d8 [0eaa] -> hrgn [0eb2], flags [0285]
trace:rebar:REBAR_WindowProc hwnd=1908 msg=14 wparam=88 lparam=0				WM_ERASEBKGND
      ^^^^^^
	This ERASEBKGND message does not appear in working version.
	But ignoring it does not make things work either.

trace:rebar:REBAR_Paint painting (0,0)-(277,53) client (0,0)-(277,53)
trace:rebar:REBAR_DrawBand drawing band separator both (0,0)-(279,28)
      ^^^^^^
	The separator band never actually gets drawn!!!

trace:win:WIN_FindWinToRepaint skipping window 1b68
trace:win:WIN_FindWinToRepaint skipping window 17ac
trace:win:WIN_FindWinToRepaint found 12d8
trace:win:BeginPaint hwnd = 12d8, hrgnUpdate = 0eaa, 
trace:win:BeginPaint hdc = 0088
trace:win:BeginPaint box = (0,108 - 126,132)
trace:win:WINPOS_SetActiveWindow (0000, 0, 1)
trace:x11drv:X11DRV_CreateBitmap (00000dd0) 32x32 1 bpp
trace:x11drv:X11DRV_SetBitmapBits (bmp=0x4039aab0, bits=0x4039aaf0, count=0x80)
trace:x11drv:X11DRV_CreateBitmap (00000dcc) 32x32 16 bpp
trace:x11drv:X11DRV_SetBitmapBits (bmp=0x40399978, bits=0x4039a2a4, count=0x800)

	Note no attempt to repaint either TOOLBAR or COMBOBOXEX windows (1a38 or 1ad0)!!!
-------------- next part --------------

Working version from 6/1/2001

Current dir /win98/Rdhat/test-pgm/controls
This is PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/albertel/bin:/home/albertel/t1/wine
This is THISWINE /home/albertel/t1/wine
/home/albertel/t1/wine/wine -managed -winver win95 -debugmsg +x11drv,+win,+rebar G:\Rdhat\test-pgm\controls\rebar.exe
Could not stat /mnt/winflp (No such file or directory), ignoring drive A:
....
trace:win:WIN_FindWinToRepaint skipping window 17ac
trace:win:WIN_FindWinToRepaint skipping window 15dc
trace:win:WIN_FindWinToRepaint skipping window 1710
trace:win:WIN_FindWinToRepaint found 1908
                                     ^^^^
	First attempt to repaint REBAR window

trace:rebar:REBAR_WindowProc hwnd=1908 msg=f wparam=0 lparam=0
trace:win:X11DRV_ScrollWindowEx 12d8, 0,-12 hrgnUpdate=0000 rcUpdate = (nil) cliprc = (0,0-0,0), rc=(0,0-126,132) 0007
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 11aa
trace:win:PAINT_RedrawWindow 12d8 (0000) NULL 11b6 box (0,120-126,132) flags=0285, exflags=0000
trace:win:RDW_UpdateRgns 	hwnd 12d8 [11ae] -> hrgn [0000], flags [0285]
trace:win:RDW_Paint 	hwnd 12d8 [11ae] -> hrgn [0000], flags [0285]
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 11ba
trace:rebar:REBAR_WindowProc hwnd=1908 msg=85 wparam=ef2 lparam=0
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 0ef2
trace:win:BeginPaint hrgnUpdate = 11a6, 
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 11a6
trace:win:BeginPaint hdc = 0088
trace:win:BeginPaint box = (0,0 - 275,54)
trace:rebar:REBAR_Paint painting (0,0)-(275,54)
trace:rebar:REBAR_DrawBand drawing band separator both (0,0)-(279,28)
trace:win:WIN_FindWinToRepaint skipping window 17ac
trace:win:WIN_FindWinToRepaint found 12d8
trace:win:BeginPaint hrgnUpdate = 11ae, 
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 11ae
trace:win:BeginPaint hdc = 0088
trace:win:BeginPaint box = (0,120 - 126,132)
trace:win:WIN_FindWinToRepaint skipping window 17ac
trace:win:WIN_FindWinToRepaint skipping window 15dc
trace:win:WIN_FindWinToRepaint skipping window 1710
trace:win:WIN_FindWinToRepaint found 1a38
                                     ^^^^
	This is paint request to TOOLBAR window (first rebar band).

trace:win:BeginPaint hrgnUpdate = 0ef6, 
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 0ef6
trace:win:BeginPaint hdc = 0088
trace:win:BeginPaint box = (0,0 - 218,21)
trace:win:WIN_FindWinToRepaint skipping window 17ac
trace:win:WIN_FindWinToRepaint skipping window 15dc
trace:win:WIN_FindWinToRepaint skipping window 1710
trace:win:WIN_FindWinToRepaint found 1ad0
                                     ^^^^
	This is paint request to COMBOBOXEX window (second rebar band).

trace:win:BeginPaint hrgnUpdate = 0efa, 
trace:win:BeginPaint hdc = 0088
trace:win:BeginPaint box = (0,0 - 218,21)
trace:x11drv:X11DRV_CreateBitmap (00000dc8) 16x16 16 bpp
trace:win:WIN_FindWinToRepaint skipping window 17ac
trace:win:WIN_FindWinToRepaint skipping window 15dc
trace:win:WIN_FindWinToRepaint skipping window 1710
trace:win:WIN_FindWinToRepaint found 19a0
trace:win:BeginPaint hrgnUpdate = 0efe, 
trace:win:X11DRV_GetDC 	saved VisRgn, clipRgn = 0efe
trace:win:BeginPaint hdc = 0088
trace:win:BeginPaint box = (0,0 - 264,22)
trace:x11drv:X11DRV_CreateBitmap (00000dd8) 20x20 16 bpp
trace:x11drv:X11DRV_CreateBitmap (00000de8) 20x20 16 bpp
trace:x11drv:X11DRV_CreateBitmap (00000df8) 20x20 16 bpp
trace:x11drv:X11DRV_CreateBitmap (00000e08) 20x20 16 bpp
trace:x11drv:X11DRV_CreateBitmap (00000e18) 20x20 16 bpp
trace:x11drv:X11DRV_CreateBitmap (00000e28) 20x20 16 bpp
trace:x11drv:X11DRV_CreateBitmap (00000e38) 20x20 16 bpp
trace:win:WINPOS_WindowFromPoint scope 008c 1013,462


More information about the wine-devel mailing list