[Mono-bugs] [Bug 341314] System.ArgumentException: Cannot activate invisible or disabled control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 7 21:28:31 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=341314

User avidigal at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=341314#c8


Andreia Gaita <avidigal at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|REOPENED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #8 from Andreia Gaita <avidigal at novell.com>  2008-02-07 19:28:30 MST ---
Fixed on r95215

There is one thing that I won't fix, which is the control that gets focused
when the popup form closes. In .NET, for some reason I cannot fathom, no
control gets the focus, or rather, the Panel gets the focus. Only, Panels
cannot be focused, as they are not containers and they are marked explicitely
as CanSelect = false. How they can have a Panel be the ActiveControl on a form
is completely mindboggling, especially since the form has focusable controls
that can be selected (?!?) :p

If I implement that, besides being a complete hack, I'd probably break all the
focus behaviour for this one corner case. So, for us, focus goes to the next
available control, which is the quit button.

Thx for the great testcase :)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list