I installed this version, started to reconfigure the panels then had
an error. I got the same error every time i tried to open Nomad. I had
to delete the user.config file for it to open properly. Stack Trace
listed below.
I thought i'd try changing to portable mode after that, as this idea
of having to reconfigure half of Nomad every time there is a new
version is starting to get irritating. I uncommented the section in
the .config file. The string "%nomadver%" is actually written into the
path, not the version number. The other 2 vars get replaced ok. But
that raises the same issue again, why a new file every version? Can
you not expect that the file may be from an older version and upgrade
it accordingly. In my own software, I do this - if the element/node
does not exist, then insert it, otherwise use the existing one -
whether in portable mode or not.
System.InvalidOperationException: SplitterDistance must be between
Panel1MinSize and Width - Panel2MinSize.
at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32
value)
at Nomad.VirtualFilePanel.set_SplitterPercent(Int32 value) in D:
\Programming\Projects\Nomad.NET\Nomad\VirtualFilePanel.cs:line 1097
at Nomad.VirtualFilePanel.OnLayout(LayoutEventArgs e) in D:
\Programming\Projects\Nomad.NET\Nomad\VirtualFilePanel.cs:line 4164
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.Layout.LayoutTransaction.DoLayout
(IArrangedElement elementToLayout, IArrangedElement
elementCausingLayout, String property)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.UserControl.OnResize(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(Int32 x, Int32 y,
Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y,
Int32 width, Int32 height, BoundsSpecified specified)
at
System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds
(Rectangle bounds, BoundsSpecified specified)
at System.Windows.Forms.Layout.DefaultLayout.xLayoutDockedControl
(IArrangedElement element, Rectangle newElementBounds, Boolean
measureOnly, Size& preferredSize, Rectangle& remainingBounds)
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.PerformLayout()
at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
at System.Windows.Forms.Control.ResumeLayout()
at System.Windows.Forms.SplitContainer.ResizeSplitContainer()
at System.Windows.Forms.SplitContainer.set_Dock(DockStyle value)
at Nomad.MainForm.AddNewTab(TwoPanelContainer newTabContent) in D:
\Programming\Projects\Nomad.NET\Nomad\MainForm.cs:line 5957
at Nomad.MainForm.actDuplicateTab_OnExecute(Object sender,
ActionEventArgs e) in D:\Programming\Projects\Nomad.NET\Nomad
\MainForm.cs:line 6020
at Nomad.Controls.Actions.Action.Execute(Object target) in D:
\Programming\Projects\Nomad.NET\Nomad\Controls\Actions\Action.cs:line
46
at Nomad.Controls.Actions.ActionToolStripItemLink.ItemClick(Object
sender, EventArgs e) in D:\Programming\Projects\Nomad.NET\Nomad
\Controls\Actions\ActionToolStripItemLink.cs:line 209
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key,
EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs
e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive
(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs
mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)
-------------