Skip to content

Occasional "SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize" exception kills FSI #40

@GoogleCodeExporter

Description

@GoogleCodeExporter
Occasionally we get the following exception message which kills FSI (possibly 
after calling FsEye.Show(), but hard to say, it doesn't happen very often):

System.InvalidOperationException: SplitterDistance must be between 
Panel1MinSize and Width - Panel2MinSize.
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at <StartupCode$FsEye>.$EyeSplitContainer.updateSplitterDistance@54(EyeSplitContainer this, Unit unitVar0)
   at <StartupCode$FsEye>.$EyeSplitContainer.-ctor@57-65.Invoke(EventArgs _arg10)
   at Microsoft.FSharp.Control.CommonExtensions.SubscribeToObservable@2032.System-IObserver`1-OnNext(T value)
   at Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.h@749.Invoke(Object _arg1, TArgs args)
   at <StartupCode$FsEye>.$EyeSplitContainer.-ctor@57-64.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.SplitContainer.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Stopped due to error

Original issue reported on code.google.com by stephen....@gmail.com on 6 Jul 2013 at 6:33

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions