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: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs