Bug #64972 SplitterDistance exception when opening a connection
Submitted: 13 Apr 2012 15:02 Modified: 13 Apr 2012 17:00
Reporter: Allen Petrarca Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.36 CE r8542 OS:Windows
Assigned to: CPU Architecture:Any

[13 Apr 2012 15:02] Allen Petrarca
Description:
exception when opening a connection from "dashboard"

Exception = System.ArgumentOutOfRangeException
Message = Value of '-1' is not valid for 'SplitterDistance'. 'SplitterDistance' must be greater than 0.
Parameter name: SplitterDistance
FullText = System.ArgumentOutOfRangeException: Value of '-1' is not valid for 'SplitterDistance'. 'SplitterDistance' must be greater than 0.
Parameter name: SplitterDistance
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at MySQL.GUI.Workbench.DbSqlEditor.AddSqlEditor(Int32 index)
   at MySQL.GUI.Workbench.DbSqlEditor.Initialize()
   at MySQL.GUI.Workbench.DbSqlEditor..ctor(WbContext wbContext, UIForm uiForm)
   at MySQL.GUI.Workbench.MainForm.CreateMainFormView(String ViewName, UIForm viewBE)

How to repeat:
i don't know what has to be done to repeat the same problem
[13 Apr 2012 15:50] Valeriy Kravchuk
Please, check if the same problem still happens with a recent version, 5.2.39. It should be fixed for a long time already...
[13 Apr 2012 17:00] Allen Petrarca
after the update to v5.2.39 CE r8757, problem is not present any more.