[Mono-bugs] [Bug 331643] ListView: Focused not reset when ListViewItem is removed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 9 20:56:36 EST 2008


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

User calberto.cortez at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331643#c2


Carlos Alberto Cortez <calberto.cortez at gmail.com> changed:

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




--- Comment #2 from Carlos Alberto Cortez <calberto.cortez at gmail.com>  2008-01-09 18:56:35 MST ---
This bug used to depend on 339641, but since that bug was marked as RESOLVED
WONTFIX, I'm going to mark this bug as closed.

Summary:

* The main bits of the bug are now solved (as Gert probably knows)
* A test is failling in Mono, not in .Net. The issue is like this: calling
Form.Show doesn't fire GotFocus on child controls, and that's the place where
ListView is supposed to modify the FocusedItem. But calling Application.Run ()
-which is the common usage scenario- DOES fire the event, and thus is not
failling. In other words, that test is failling only in our test suite, not in
the real world -probably we could add a test running Application.Run instead of
f.Show?- (This is part of 339641).

Thus I've commented the mentioned assertion -with a corresponding explanation-,
as well as activating the test - we need to run it, since everything runs
smoothly.

Marking as FIXED.


-- 
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