[Mono-bugs] [Bug 82351][Wis] New - TableLayoutPanel does not work on localized forms
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Aug 7 08:33:13 EDT 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 int19h at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82351
--- shadow/82351 2007-08-07 08:33:13.000000000 -0400
+++ shadow/82351.tmp.6616 2007-08-07 08:33:13.000000000 -0400
@@ -0,0 +1,84 @@
+Bug#: 82351
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: Ubuntu 7.04
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: int19h at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: TableLayoutPanel does not work on localized forms
+
+Description of Problem:
+
+When Localized property of the Form is set to true in VS2005 Form Designer,
+TableLayoutPanel properties are moved into an associated resource file. When
+trying to run the application with such a form, it attempts to deserialize the
+controls from the resources, and fails on TableLayoutPanel, throwing an
+exception.
+
+Steps to reproduce the problem:
+1. Create a blank form in VS2005 Form designer
+2. Set its Localized property to "true"
+3. Put a TableLayoutPanel on the form
+4. Build the project
+5. Run the resulting executable using Mono
+
+Actual Results:
+
+Unhandled Exception: System.Runtime.Serialization.SerializationException: The
+constructor to deserialize an object of type
+System.Windows.Forms.TableLayoutSettings was not found.
+ at System.Runtime.Serialization.ObjectRecord.LoadData
+(System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector
+selector, StreamingContext context) [0x00000]
+ at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000]
+ at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
+(System.IO.BinaryReader reader) [0x00000]
+ at
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph
+(System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result,
+System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000]
+ at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
+ (System.IO.Stream serializationStream,
+System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000]
+ at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
+(System.IO.Stream serializationStream) [0x00000]
+ at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type
+exp_type) [0x00000]
+ at System.Resources.ResourceReader.ReadValueVer2 (Int32 type_index) [0x00000]
+ at System.Resources.ResourceReader.ResourceValue (Int32 index) [0x00000]
+ at System.Resources.ResourceReader+ResourceEnumerator.get_Value () [0x00000]
+ at System.Resources.ResourceSet.ReadResources () [0x00000]
+ at System.Resources.ResourceSet.GetObject (System.String name, Boolean
+ignoreCase) [0x00000]
+ at System.Resources.ResourceManager.GetObject (System.String name,
+System.Globalization.CultureInfo culture) [0x00000]
+ at System.ComponentModel.ComponentResourceManager.ApplyResources
+(System.Object value, System.String objectName,
+System.Globalization.CultureInfo culture) [0x00000]
+ at System.ComponentModel.ComponentResourceManager.ApplyResources
+(System.Object value, System.String objectName) [0x00000]
+ at LocalizedTableLayoutPanel.Form1.InitializeComponent () [0x00000]
+ at LocalizedTableLayoutPanel.Form1..ctor () [0x00000]
+ at (wrapper remoting-invoke-with-check) LocalizedTableLayoutPanel.Form1:.ctor
+()
+ at LocalizedTableLayoutPanel.Program.Main () [0x00000]
+
+Expected Results:
+
+Blank form shown, no exceptions.
+
+How often does this happen?
+
+Always, on any form meeting the conditions described above.
+
+Additional Information:
More information about the mono-bugs
mailing list