Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: TwinMoon on Thu 04/09/2008 11:35:19

Title: Bug report - splitterdistance
Post by: TwinMoon on Thu 04/09/2008 11:35:19
Hm, I got this error on startup (see below).
And I have been able to reproduce it:  I started up AGS, minimized it and then ran something in full screen in WinXP (in my case ScummVM).
I shut down AGS while it is still minimized (by rightclicking it on the taskbar).
Then I get this error when opening AGS again:


Error: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
Version: AGS 3.0.2.43

System.InvalidOperationException: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at AGS.Editor.frmMain.frmMain_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   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)
Title: Re: Bug report - splitterdistance
Post by: Pumaman on Thu 04/09/2008 19:25:45
Thanks for the report, I'll look into it.