Hi all,

I have a problem with the Matlab editor:
If I open Tools/Font..., I get a ChooseFontA().
This ChooseFontA dialog however doesn't get focused.
Instead its parent stays "focused" (i.e.: yellow border),
but as soon as you try to select any other window, *ANY* focus
in the whole WM is *COMPLETELY* gone.
Wasn't some recent patch supposed to fix *all* focus problems ??

Some "facts":
Call user32.9: BeginDeferWindowPos(00000008) ret=5f40c21c fs=0247
Ret  user32.9: BeginDeferWindowPos() retval=000009a8 ret=5f40c21c fs=0247

Main window that should lose its focus, but doesn't:
Call user32.522: SetWindowTextA(000009a8,41151250 "MATLAB Editor/Debugger") 
ret=5f403bcf fs=0247

Call user32.83: CreateWindowExA(00000200,41153e8c "RICHEDIT",5f4cbe22 
"",553081c4,00000000,00000000,00000064,00000064,00000e88,0000e900,00400000,40c1691c) 
ret=5f409db7 fs=0247
--> hwnd 0x0f4c

Call comdlg32.3: ChooseFontA(40c167c0) ret=5f4195f9 fs=0247
--> hwnd 0x1244

trace:relay:WINPROC_CallWndProc 
(wndproc=0x5f40219d,hwnd=00000f4c,msg=WM_KILLFOCUS,wp=000013b8,lp=00000000)

(sorry, this isn't too informative...)

This is with current CVS and icewm_1.0.1-1.
Dunno about older Wine versions.

Sorry, I don't have too much time now to debug this/gather more info.
I just wanted to let you know that there is a major problem.
If somebody is interested, just mail me.

Andreas Mohr

Reply via email to