https://bugzilla.novell.com/show_bug.cgi?id=631774
https://bugzilla.novell.com/show_bug.cgi?id=631774#c0 Summary: ControlPaint.DrawReversibleLine doesn't draw anything Classification: Mono Product: Mono: Class Libraries Version: 2.0.x Platform: x86 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729) In a UserControl-derived class, the method call ControlPaint.DrawReversibleLine(...) should draw a line on the screen using a XOR raster operation, but it draws somewhere under the form, and therefore its output appears only for a tiny fraction of a second. Reproducible: Always Steps to Reproduce: 1. Create a class derived from UserControl, whose method OnPaint calls ControlPaint.DrawReversibleLine(0, 0, 1000, 1000, Color.Black) 2. Insert an instance of such control in a Form that is opened when the program runs. 3. Run the program. To let you see the lines drawn, insert the call in a loop repeated 10000 times. Expected Results: It should draw a line -- 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
