Re: [Audacity-devel] Fwd: v1.3.0 bug report
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Vaughan J. <va...@au...> - 2005-12-19 05:04:22
|
Leland Lucius wrote: >>As y'all know, when you click the Length radio button in Win2k, >>Audacity goes into a loop. >> >> >> >I'm still not sure what the real problem is. This WM_GETDLGCODE >endless loop is not entirely uncommon under Windows. Goggling >shows many unfortunate souls pulling their hair out. > >But, there will be a fix forthcoming. How? Well, I went back to >the Widgets documentation and lookie what I found in the class info >for wxRadioButtom: > > wxRB_SINGLE In some circumstances, radio buttons that are not > consecutive siblings trigger a hang bug in Windows (only). If > this happens, add this style to mark the button as not belonging > to a group, and implement the mutually-exclusive group behaviour > yourself. > >Now, they ARE consecutive siblings but I tried it and the loop does >go away. So I will add the mutex behavior to my "experimental" code >to see if it works for everyone. > >Is everyone okay with a workaround when not understanding the root >cause??? (I am...;-D) > >Leland > > > > > Sounds good to me. Maybe #ifdef __WXMSW__ conditionally? I was just reading your earlier emails and tracing and baffled, so the fact that wxWidgets doc says it can happen makes me think we must do that workaround. I can confirm that making the Length button wxRB_SINGLE makes it not get loopy lost, but of course, it means programming the grouping behaviour, too. So are you actually doing this in Win2K and still not seeing it in XP? Thanks! -Vaughan |