[Mono-bugs] [Bug 396631] New: PropertyGrid: Font Name fails to paint

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 3 04:36:54 EDT 2008


           Summary: PropertyGrid: Font Name fails to paint
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: contact at i-nz.net
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

On the Font Name sub-property there should be a text sample within the blue
box.  Applies both to SWF and Web, e.g. SWF.Button, and

Currently the box is empty.  With extra logging the exception below is seen.

Patch attached -- to assembly System.Drawing.Design.  (Also SVN eol-style
property is missing on this and all other files in this assembly).

GridEntry.get_PaintValue: System.InvalidCastException: Cannot cast from source
type to destination type.
at System.Drawing.Design.FontNameEditor.PaintValue
(System.Drawing.Design.PaintValueEventArgs e) [0x0003e] in
at System.Drawing.Design.UITypeEditor.PaintValue (System.Object value,
System.Drawing.Graphics canvas, Rectangle rectangle) [0x00000] in
at System.Windows.Forms.PropertyGridInternal.GridEntry.PaintValue
(System.Drawing.Graphics gfx, Rectangle rect) [0x0000d] in

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