[Mono-bugs] [Bug 587563] New: problem with Paint action.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 11 11:46:24 EST 2010



           Summary: problem with Paint action.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i586
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ivmbusines at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: DeveloperNet
           Blocker: ---

Description of Problem:

Steps to reproduce the problem:
1. Add statusStrip1 to windows form.
2. Add StatusLabel1 to statusStrip.
2. Add toolStripStatusLabel1.Paint action like this:

private void toolStripStatusLabel1_Paint(object sender, PaintEventArgs e)
            e.Graphics.FillRectangle(new SolidBrush(Color.Lime), (sender as

Actual Results: 
Under Microsoft Framework whe will get only red rectangel.
Under mono in OpenSuSe 11.2 whe will get red rectangel and text of label ower
I think in mono at first work user Paint action, and then work base.Paint(...)!
Its wrong!!!!!

The same problem with dataGridView control!!!

There no this problem for control Label, it's work fine.

Configure bugmail: http://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