[Mono-bugs] [Bug 78725][Min] New - System.Windows.Forms.KeyUp fires if you hold down a key.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 28 20:39:36 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by adrien at adriencomix.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78725

--- shadow/78725	2006-06-28 20:39:36.000000000 -0400
+++ shadow/78725.tmp.6405	2006-06-28 20:39:36.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 78725
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Slackware 10.1, Kernel 2.6, en, Mono 1.1.13.8
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: adrien at adriencomix.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Windows.Forms.KeyUp fires if you hold down a key.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Add a keyup handler to your winform.
+2. in the keyup event, put System.Console.WriteLine("Key Up");
+3. Build your project, hold down a key and observe output.
+
+Actual Results:
+Runs KeyUp event if the key never came back up.
+
+Expected Results:
+KeyUp shouldn't fire unless the key goes up.
+
+How often does this happen? 
+Everytime.
+
+Additional Information:
+I've done this on Windows in .NET to handle input for games. I used keyup
+events to judge whether to accept input from a particular key. When keydown
+events were recieved a key was flagged to be used. The key's input couldn't
+be used until the KeyUp event for that key was fired. On Mono I can't do
+this, so I can't develop games the same way.


More information about the mono-bugs mailing list