[Mono-bugs] [Bug 80509][Cos] New - Incorrect window icon

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 12 14:02:48 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80509

--- shadow/80509	2007-01-12 14:02:48.000000000 -0500
+++ shadow/80509.tmp.26024	2007-01-12 14:02:48.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 80509
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incorrect window icon
+
+Description of Problem:
+If Form.Icon is set to an Icon created from a file that contains multiple 
+icons, the window displays the wrong icon.
+
+Steps to reproduce the problem:
+1. Compile the following program.
+using System.Drawing;
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        Icon = new Icon("Test.ico");
+    }
+}
+2. Put the test icon in the same directory as the generated executable.
+3. Start the program.
+
+Actual Results:
+1 is displayed as icon.
+
+Expected Results:
+2 is displayed.
+
+How often does this happen? 
+Always (on the SVN version).


More information about the mono-bugs mailing list