https://bugzilla.novell.com/show_bug.cgi?id=681654
https://bugzilla.novell.com/show_bug.cgi?id=681654#c0 Summary: Calling Application.DoEvents inside a modal ShowDialog lets events through Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: x86 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 If I use Application.DoEvents inside a modal ShowDialog, the dialog effectively becomes non-modal in the sense that it allows me to click on things behind it (at least on Windows). Is this because DoEvents in XplatUI is just a generic PeekMessage loop, whereas Application's RunLoop has a bunch of extras (which could be moved to a message filter to make them run in the DoEvents)? Or is there something more complicated? In any case, this is a definite bug. In Windows I am able to call Application.DoEvents and the dialog stays modal. Pretty serious since it makes repainting during a long-running operation impractical. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
