[Mono-winforms-list] Mono 2.0 Windows Form freezes when it is moved around while it is doing background thread work

kuse marcus at in-process.se
Thu Nov 6 05:31:35 EST 2008




Lawrence Teo wrote:
> 
> Hi all,
> 
> Mono 2.0 is really a great software. My Windows Form application runs
> without any problem, except I can't move it around.
> 
> Once I move the Windows Form application while it is running background
> calculation with progress bar showing the progress in the front, the
> Windows Form application will freeze forever.
> 
> I don't have the freezing if moving problem if the Windows Form
> application is idle and does do anything.
> 
> Anyone observes the similar problem?
> Any suggestion?
> 
> Thanks
> 

I might have come across the same problem, in my case I (on the windows
plattform, trying to port it to mono) show a splashscreen och process some
data in a separate thread, the system hangs with this call-stack when
invoking (from the processing thread to splash-thread) a set text method to
the splashscreen form:

Control.EndInvoke
  AsyncMethodResult.EndInvoke
    ManualResetEvent.WaitOne  <------ this one never ends and my app. hangs


-- 
View this message in context: http://www.nabble.com/Mono-2.0-Windows-Form-freezes-when-it-is-moved-around-while-it-is-doing-background-thread-work-tp19871328p20358637.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list