cygnusxi / hfm-net

Automatically exported from code.google.com/p/hfm-net
2 stars 0 forks source link

User experiencing exception on startup due to Log Viewer Splitter location. #234

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Unsure at this point, haven't been able to reproduce locally.

Stack trace provided by user:

HFM.NET v0.5.1

Primary UI Failed to Initialize.

Exception Thrown:
System.InvalidOperationException: SplitterDistance deve ficar entre
Panel1MinSize e Width - Panel2MinSize.
   em System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32
value)
   em HFM.Forms.frmMain.RestoreFormPreferences()
   em HFM.Forms.frmMain.Initialize()
   em HFM.Program.Main(String[] args) 

Link to Google Group Thread:

http://groups.google.com/group/hfm-net/browse_thread/thread/3f190eec5d109b68#

Last Build Tested:

- v0.5.1.198

Original issue reported on code.google.com by harlam357 on 24 Oct 2010 at 11:11

GoogleCodeExporter commented 8 years ago

Original comment by harlam357 on 23 Mar 2012 at 2:19

GoogleCodeExporter commented 8 years ago
Finally reproduced this issue.  The user must have made the main HFM window 
very vertically small... in my testing less than 130 pixels would trigger the 
exception upon restart.  Set minimum window size of 150x150 and make sure 
values loaded from the preferences are greater than or equal to the minimums.

Original comment by harlam357 on 23 Mar 2012 at 2:21

GoogleCodeExporter commented 8 years ago
Marked Fixed for Revision 550.

Original comment by harlam357 on 23 Mar 2012 at 2:22