Bug #64303 Workbench crashed when double click other table
Submitted: 12 Feb 2012 10:21 Modified: 6 Mar 2012 19:27
Reporter: Stephen T. Charlie Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.37 OS:Microsoft Windows (Server 2003)
Assigned to: CPU Architecture:Any

[12 Feb 2012 10:21] Stephen T. Charlie
Description:
When modeling, before edit or create a new table, keep table define window open, double click an another table for edit, crashed.Console printed follow exception:
======================begin======================
Unhandled Exception: System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.get_Width()
   at System.Drawing.Image.get_Size()
   at System.Windows.Forms.ToolStripItem.get_PreferredImageSize()
   at System.Windows.Forms.ToolStripItemInternalLayout.CommonLayoutOptions()
   at System.Windows.Forms.ToolStripItemInternalLayout.GetLayoutData()
   at System.Windows.Forms.ToolStripItemInternalLayout.PerformLayout()
   at System.Windows.Forms.ToolStripItemInternalLayout.EnsureLayout()
   at System.Windows.Forms.ToolStripItemInternalLayout.GetPreferredSize(Size constrainingSize)
   at System.Windows.Forms.ToolStripItem.GetPreferredSize(Size constrainingSize)
   at System.Windows.Forms.ToolStripButton.GetPreferredSize(Size constrainingSize)
   at System.Windows.Forms.ToolStrip.GetPreferredItemSize(ToolStripItem item)
   at System.Windows.Forms.ToolStrip.GetPreferredSizeVertical(IArrangedElement container, Size proposedConstraints)
   at System.Windows.Forms.ToolStripSplitStackLayout.GetPreferredSize(IArrangedElement container, Size proposedConstraints)
   at System.Windows.Forms.ToolStrip.GetPreferredSizeCore(Size proposedSize)
   at System.Windows.Forms.Control.GetPreferredSize(Size proposedSize)
   at System.Windows.Forms.Layout.DefaultLayout.GetHorizontalDockedSize(IArrangedElement element, Size remainingSize, Boolean measureOnly)
   at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedControls(IArrangedElement container, Boolean measureOnly)
   at System.Windows.Forms.Layout.DefaultLayout.xLayout(IArrangedElement container, Boolean measureOnly, Size& preferredSize)
   at System.Windows.Forms.Layout.DefaultLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args)
   at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
   at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
   at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
   at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
   at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
   at System.Windows.Forms.Control.ControlCollection.Remove(Control value)
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.ToolStrip.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at MySQL.Forms.ObjectImpl.~ObjectImpl()
   at MySQL.Forms.ViewImpl.Dispose(Boolean )
   at MySQL.Forms.ToolBarImpl.Dispose(Boolean )
   at MySQL.Forms.ObjectImpl.Dispose()
   at MySQL.Forms.ViewImpl.destroy(View* self)
   at MySQL.MCallback1<void\,mforms::View \*>.cpp_callback(View* arg1)
   at MySQL.Grt.UIForm.!UIForm()
   at MySQL.Grt.UIForm.Dispose(Boolean )
   at MySQL.Workbench.ModelDiagramFormWrapper.Dispose(Boolean )
   at MySQL.Grt.UIForm.Finalize()

======================end======================

How to repeat:
just double click.
[12 Feb 2012 12:21] Stephen T. Charlie
This bug has found started with version 5.2.35
[13 Feb 2012 14:30] Miguel Solorzano
Please provide the output of Help->System Info. Thanks.
[14 Feb 2012 13:39] Stephen T. Charlie
Output of help -> system info
-----------------------------------------------------
MySQL Workbench CE for Windows version 5.2.37  revision 8576
Configuration Directory: C:\Documents and Settings\Administrator\Application Data\MySQL\Workbench
Data Directory: D:\Program Files\MySQL\Workbench
Cairo Version: 1.8.8
Rendering Mode: OpenGL is not available on this system, so GDI is used for rendering.
OS: Microsoft Windows Server 2003 R2, Enterprise Edition Service Pack 2 (build 3790)
CPU: AMD Turion(tm) 64 Mobile Technology MT-34, 512 MiB RAM
Active video adapter (0): ATI Mobility Radeon X1400
Installed video RAM: 256 MB
Current video mode: 1280 x 800 x 4294967296 
Used bit depth: 32
Driver version: 6.14.10.6806
Installed display drivers: ati2dvag.dll
Current user language: 中文(中国)
_______________________^^^^^^^^^^zh-cn
[28 Feb 2012 20:31] Armando Lopez Valencia
Hello Stephen.
Several improvements in Modeling has been applied in version 5.2.38 which has been fixed this defect. Can you please download WB 5.2.38 and confirm that this problem has been fixed in your environment?
Thanks.
[5 Mar 2012 13:28] Stephen T. Charlie
Yes,this problem has fixed, thanks for your good job.
[6 Mar 2012 19:27] Valeriy Kravchuk
Not repeatable with 5.2.38.