[Mono-bugs] [Bug 360666] New: PropertyGrid: messagebox infinite loop when unsupported type
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 11 11:51:31 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=360666
Summary: PropertyGrid: messagebox infinite loop when unsupported
type
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
I presume it applies to all unsupported types but I've only seen it in the case
here. Repro program is attached (in VB for variety -- easily convertible if
necessary).
The repro creates a simple form with a PropertyGrid, ComboBox and StatusStrip.
The combo changes the PG to display one of the controls. Selecting the
StatusStrip control causes a sequence of message-boxes with content:
[[
---------------------------
Properties Window
---------------------------
Unable to load UITypeEditor for property 'Items'.
---------------------------
OK
---------------------------
]]
Sometimes hitting OK simply displays the same dialog repeatdly, thus one has to
kill the program externally. Sometimes the sequence is shorter, e.g. 4 long.
I guess there's always the possibility of an unsupported type and thus we need
to degrade gracefully.
BTW the property Items has type ToolStripItemCollection. So implementation of
that required sometime...
--
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