[Mono-bugs] [Bug 79629][Nor] Changed - Form does not redraw correctly when MaximizeBox or MinimizeBox is false and a control's visibility is changed
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Oct 17 08:48:40 EDT 2006
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 rolfkvinge at ya.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79629
--- shadow/79629 2006-10-16 09:34:00.000000000 -0400
+++ shadow/79629.tmp.18300 2006-10-17 08:48:40.000000000 -0400
@@ -77,6 +77,39 @@
------- Additional Comments From toshok at ximian.com 2006-10-13 18:56 -------
this should be fixed as of r66663.
------- Additional Comments From kendrhyd at sympatico.ca 2006-10-16 09:33 -------
As a note, the situation is even worse in release 1.1.18-0 as the combobox will not activate
even once!
+
+------- Additional Comments From rolfkvinge at ya.com 2006-10-17 08:48 -------
+There is one more issue now, reproducible with the following code.
+The combobox' textbox does not recreate it's handle after recreating
+the combobox' handle, so no text is shown at all in the combobox.
+
+using System;
+using System.Windows.Forms;
+using System.Drawing;
+
+namespace Test
+{
+ public class Test : Form
+ {
+ public Test ()
+ {
+ ComboBox cmd = new ComboBox ();
+ Controls.Add (cmd);
+ cmd.Items.Add (1);
+ cmd.Items.Add (2);
+ Show ();
+ Console.WriteLine ("About to recreate handle");
+ RecreateHandle ();
+ cmd.Text = "testing";
+ Console.WriteLine ("Handle recreated");
+ }
+
+ static void Main ()
+ {
+ System.Windows.Forms.Application.Run (new Test ());
+ }
+ }
+}
More information about the mono-bugs
mailing list