[Mono-bugs] [Bug 363522] New: Application.DoEvents() causes thread to hang when scrolling with the mouse wheel
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 21 01:25:23 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=363522
Summary: Application.DoEvents() causes thread to hang when
scrolling with the mouse wheel
Product: Mono: Class Libraries
Version: 1.9.0
Platform: x86-64
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: zach.lute at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=196161)
--> (https://bugzilla.novell.com/attachment.cgi?id=196161)
Test case demonstrating hanging on mouse scroll
Steps to Reproduce:
1. Build the attached Test.cs with 'gmcs -r:System.Windows.Forms.dll Test.cs'
2. Run 'mono Test.cs'
3. Note the ticks output flying by in the console.
4. Move the mouse over the empty form.
5. Scroll the mouse wheel down like a maniac. You may have to do this a few
times if the problem isn't readily apparent.
Expected Results:
Numbers continue to scroll by in the console output.
Actual Results:
Numbers stutter and sometimes stop entirely for a bit as Mono hangs in the
Application.DoEvents() call.
Other Information:
This problem does not seem to exist in Mono 1.2.4 or Mono 1.2.6. This is
actually the smallest reproducible atom from a larger game program that runs
its own main loop and calls Application.DoEvents() to keep WinForms happy and
process input, etc.
This also works fine on a Windows machine running the Microsoft runtime.
--
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.
More information about the mono-bugs
mailing list