[Mono-bugs] [Bug 341105] SL 1.1 swallow exceptions in Loaded event

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 12 14:24:06 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=341105#c1





--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-11-12 12:24:05 MST ---
Looks like more (all?) events are swallowing the exceptions...

Adding this (with the corresponding xaml)...

            public void OnKeyDown (Object sender, KeyboardEventArgs e)
            {
                    Ellipse el = (Ellipse)this.FindName("ellipse");
                    el.Fill = new SolidColorBrush(Color.FromRgb(255, 0, 0));
                    throw new NotSupportedException();
            }

Using Silverlight I get the ellipse turning red (while typing keyboard) without
getting any error (PageLoad or KeyDown).

Using Moonlight I get the html-ized exception information (but the app still
works).


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