http://bugs.winehq.org/show_bug.cgi?id=10916
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2009-04-22 15:22:18 --- Hello,
--- quote --- Please retest in current git. --- quote ---
yes obviously still a problem.
--- snip --- ... 0018:trace:win:RedrawWindow 0x100dc whole window flags: RDW_INVALIDATE RDW_ERASE RDW_FRAME 0018:trace:treeview:TREEVIEW_WindowProc hwnd 0x100d2 msg 0111 wp=040000dc lp=000100dc 0018:trace:treeview:TREEVIEW_Command 40000dc 65756 0018:trace:win:GetDCEx hwnd 0x10020, hrgnClip (nil), flags 00000003 0018:trace:win:GetDCEx (0x10020,(nil),0x13): returning 0x53ec 0018:trace:seh:raise_exception code=c0000005 flags=0 addr=0x604332b5 ip=0x604332b5 tid=0018 0018:trace:seh:raise_exception info[0]=00000000 0018:trace:seh:raise_exception info[1]=0000005c 0018:trace:seh:raise_exception eax=00000000 ebx=604492c4 ecx=0000001e edx=00000010 esi=0033d5bc edi=00634800 0018:trace:seh:raise_exception ebp=0033d444 esp=0033cbac cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010216 First chance exception: page fault on read access to 0x0000005c in 32-bit code (0x604332b5). 001a:trace:msg:peek_message got type 6 msg 113 (WM_TIMER) hwnd 0x10026 wp 1 lp 0 Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:604332b5 ESP:0033cbac EBP:0033d444 EFLAGS:00010216( - 00 -RIAP1) EAX:00000000 EBX:604492c4 ECX:0000001e EDX:00000010 ESI:0033d5bc EDI:00634800 Stack dump: 0x0033cbac: 000053ec 0033d3e4 00000000 0033d420 0x0033cbbc: 040000dc 000100dc 7375636f 70616441 0x0033cbcc: 0000001e 0000002d 0033d31c 0033ccc8 0x0033cbdc: 00000004 00000002 00000000 008a8ff4 0x0033cbec: 667a68a3 668a8ff4 667a68a3 00000000 0x0033cbfc: 7bcb7355 66799bad 0033d34c 6687407c Backtrace: =>0 0x604332b5 TREEVIEW_Command+0x1c9(infoPtr=0x50e5b60, wParam=67109084, lParam=65756) [/opt/wine/wine-git/dlls/comctl32/treeview.c:3614] in comctl32 (0x0033d444) 1 0x604384af TREEVIEW_WindowProc+0xb18(hwnd=0x100d2, uMsg=273, wParam=67109084, lParam=65756) [/opt/wine/wine-git/dlls/comctl32/treeview.c:5625] in comctl32 (0x0033d4b4) 2 0x60264faa WINPROC_wrapper+0x1a() in user32 (0x0033d4e4) 3 0x6026564e call_window_proc+0xca(hwnd=0x100d2, msg=273, wp=67109084, lp=65756, result=0x33d568, arg=0x60437997) [/opt/wine/wine-git/dlls/user32/winproc.c:458] in user32 (0x0033d534) 4 0x6026cda0 CallWindowProcW+0x66(func=0x60437997, hwnd=0x100d2, msg=273, wParam=67109084, lParam=65756) [/opt/wine/wine-git/dlls/user32/winproc.c:2310] in user32 (0x0033d574) 5 0x0468220a in swt-win32-3452 (+0x220a) (0x0033d590) 6 0x0095a159 _XimProtoEventToWire+0x109() in libx11.so.6 (0x0033d5c8) 7 0x0095a34c _XimProtoEventToWire+0x2fc() in libx11.so.6 (0x0033d5f8) 8 0x00742ec5 (0x0033d648) 9 0x0094cc8c in libx11.so.6 (+0x55c8c) (0x0033d6b8) 10 0x00742ec5 (0x0033d70c) 11 0x0080f56c (0x0033d7a8) 12 0x007402ca (0x0033d7f8) 13 0x6d8c934d in jvm (+0xc934d) (0x00740265) 14 0xe1c1204d (0x8bec8b55) 15 0x00000000 (0x00000000) 0x604332b5 TREEVIEW_Command+0x1c9 [/opt/wine/wine-git/dlls/comctl32/treeview.c:3614] in comctl32: movl 0x5c(%eax),%eax 3614 sz.cx = min(sz.cx, --- snip ---
infoPtr->selectedItem == NULL
--- snip dlls/comctl32/treeview.c --- static LRESULT TREEVIEW_Command(TREEVIEW_INFO *infoPtr, WPARAM wParam, LPARAM lParam) { TRACE("%lx %ld\n", wParam, lParam);
switch (HIWORD(wParam)) { case EN_UPDATE: { /* * Adjust the edit window size */ WCHAR buffer[1024]; TREEVIEW_ITEM *editItem = infoPtr->selectedItem; ...
if (GetTextExtentPoint32W(hdc, buffer, strlenW(buffer), &sz)) { TEXTMETRICW textMetric;
/* Add Extra spacing for the next character */ GetTextMetricsW(hdc, &textMetric); sz.cx += (textMetric.tmMaxCharWidth * 2);
sz.cx = max(sz.cx, textMetric.tmMaxCharWidth * 3); sz.cx = min(sz.cx, infoPtr->clientWidth - editItem->textOffset + 2); ... --- snip dlls/comctl32/treeview.c ------
Regards