[Mono-bugs] [Bug 79384][Nor] New - ContainerControl: When got focus, it should pass it to its first child control

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 12 14:12:59 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 unserkonig at gmail.com.

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

--- shadow/79384	2006-09-12 14:12:59.000000000 -0400
+++ shadow/79384.tmp.22058	2006-09-12 14:12:59.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 79384
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: unserkonig at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ContainerControl: When got focus, it should pass it to its first child control
+
+When focus is given to ContainerControl, it should pass it to its first
+child control.
+
+Steps to reproduce the problem:
+1. Compile the attached sample.
+2. Click on the "hi" button to focus it.
+3. Press TAB to move the focus to the Container instance
+
+Actual Results:
+Everytime the focus passes from "hi" button to the CustomContainer
+instance, "Container::OnGotFocus" is printed to the console. Thus, the
+Container is getting the focus, and nothing more.
+
+Expected Results:
+When focus is given to Container class fom the "hi" button, the focus
+sequence should be: 1) Container.OnGotFocus 2) Container.OnLostFocus 3)
+ChildControl.OnGotFocus. We can see this based on the messages printed to
+the console.


More information about the mono-bugs mailing list