Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82271 --- shadow/82271 2007-08-01 05:47:15.000000000 -0400 +++ shadow/82271.tmp.24761 2007-08-01 05:47:15.000000000 -0400 @@ -0,0 +1,215 @@ +Bug#: 82271 +Product: Mono: Class Libraries +Version: 1.2 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Summary: ScrollBar problem in EVEMon + +Description of Problem: +EveMon fails to create it's main form when running on mono. It runs fine +on MS.Net. + +Steps to reproduce the problem: +1. Download the project (see attachement for a-bit-trimmed version) +2. Compile with VS2005 and MWF as descibed on +http://www.mono-project.com/Guide:_Debugging_With_MWF +3. Run + +Actual Results: +System.ArgumentOutOfRangeException was unhandled + Message="Value '-6' must be greater than or equal to 0.\r\nParameter +name: LargeChange" + Source="System.Windows.Forms" + ParamName="LargeChange" + StackTrace: + at System.Windows.Forms.ScrollBar.set_LargeChange(Int32 value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ScrollBar.cs:line 399 + at System.Windows.Forms.ListBox.UpdateVerticalScrollBar() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ListBox.cs:line 2075 + at System.Windows.Forms.ListBox.UpdateScrollBars() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ListBox.cs:line 2023 + at System.Windows.Forms.ListBox.LayoutListBox() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ListBox.cs:line 1170 + at System.Windows.Forms.ListBox.OnHandleCreated(EventArgs e) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ListBox.cs:line 971 + at System.Windows.Forms.Control.WmCreate(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 5344 + at System.Windows.Forms.Control.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 5028 + at System.Windows.Forms.ListBox.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ListBox.cs:line 1132 + at EVEMon.NoFlickerListBox.WndProc(Message& m) in D:\Gentoo\Copy of +evemon-svn\NoFlickerListBox.cs:line 57 + at +System.Windows.Forms.Control.ControlWindowTarget.OnMessage(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 224 + at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& +m) in D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 205 + at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, +IntPtr wParam, IntPtr lParam) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:line 188 + at System.Windows.Forms.XplatUIWin32.InternalWndProc(IntPtr hWnd, +Msg msg, IntPtr wParam, IntPtr lParam) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:line 1866 + at +System.Windows.Forms.XplatUIWin32.Win32CreateWindow(WindowExStyles +dwExStyle, String lpClassName, String lpWindowName, WindowStyles dwStyle, +Int32 x, Int32 y, Int32 nWidth, Int32 nHeight, IntPtr hWndParent, IntPtr +hMenu, IntPtr hInstance, IntPtr lParam) + at System.Windows.Forms.XplatUIWin32.CreateWindow(CreateParams cp) +in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:line 1579 + at System.Windows.Forms.XplatUI.CreateWindow(CreateParams cp) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:line 439 + at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams +create_params) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:line 112 + at System.Windows.Forms.Control.CreateHandle() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 4187 + at System.Windows.Forms.Control.CreateControl() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3556 + at System.Windows.Forms.Control.CreateControl() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3568 + at System.Windows.Forms.Control.WmShowWindow(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 5385 + at System.Windows.Forms.Control.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 5023 + at System.Windows.Forms.ScrollableControl.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ScrollableControl.cs:line +717 + at System.Windows.Forms.ContainerControl.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ContainerControl.cs:line +530 + at System.Windows.Forms.UserControl.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\UserControl.cs:line 118 + at +System.Windows.Forms.Control.ControlWindowTarget.OnMessage(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 224 + at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& +m) in D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 205 + at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, +IntPtr wParam, IntPtr lParam) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:line 188 + at System.Windows.Forms.XplatUIWin32.InternalWndProc(IntPtr hWnd, +Msg msg, IntPtr wParam, IntPtr lParam) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:line 1866 + at +System.Windows.Forms.XplatUIWin32.Win32CreateWindow(WindowExStyles +dwExStyle, String lpClassName, String lpWindowName, WindowStyles dwStyle, +Int32 x, Int32 y, Int32 nWidth, Int32 nHeight, IntPtr hWndParent, IntPtr +hMenu, IntPtr hInstance, IntPtr lParam) + at System.Windows.Forms.XplatUIWin32.CreateWindow(CreateParams cp) +in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:line 1579 + at System.Windows.Forms.XplatUI.CreateWindow(CreateParams cp) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:line 439 + at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams +create_params) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:line 112 + at System.Windows.Forms.Control.CreateHandle() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 4187 + at System.Windows.Forms.Control.CreateControl() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3556 + at System.Windows.Forms.Control.CreateControl() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3568 + at System.Windows.Forms.Control.WmShowWindow(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 5385 + at System.Windows.Forms.Control.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 5023 + at System.Windows.Forms.ScrollableControl.WndProc(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\ScrollableControl.cs:line +717 + at +System.Windows.Forms.Control.ControlWindowTarget.OnMessage(Message& m) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 224 + at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& +m) in D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 205 + at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, +IntPtr wParam, IntPtr lParam) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:line 188 + at System.Windows.Forms.XplatUIWin32.InternalWndProc(IntPtr hWnd, +Msg msg, IntPtr wParam, IntPtr lParam) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:line 1866 + at +System.Windows.Forms.XplatUIWin32.Win32CreateWindow(WindowExStyles +dwExStyle, String lpClassName, String lpWindowName, WindowStyles dwStyle, +Int32 x, Int32 y, Int32 nWidth, Int32 nHeight, IntPtr hWndParent, IntPtr +hMenu, IntPtr hInstance, IntPtr lParam) + at System.Windows.Forms.XplatUIWin32.CreateWindow(CreateParams cp) +in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:line 1579 + at System.Windows.Forms.XplatUI.CreateWindow(CreateParams cp) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:line 439 + at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams +create_params) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:line 112 + at System.Windows.Forms.Control.CreateHandle() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 4187 + at System.Windows.Forms.Control.CreateControl() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3556 + at System.Windows.Forms.Control.SetVisibleCore(Boolean value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 4735 + at System.Windows.Forms.Control.set_Visible(Boolean value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3243 + at System.Windows.Forms.TabPage.SetVisible(Boolean value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\TabPage.cs:line 282 + at System.Windows.Forms.TabControl.set_SelectedIndex(Int32 value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\TabControl.cs:line 342 + at System.Windows.Forms.TabControl.ControlCollection.Add(Control +value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\TabControl.cs:line 1444 + at System.Windows.Forms.TabControl.TabPageCollection.Add(TabPage +page) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\TabControl.cs:line 1543 + at EVEMon.MainWindow.AddTab(Object charInfo, String title, +CharacterMonitor cm) in D:\Gentoo\Copy of evemon-svn\MainWindow.cs:line 448 + at EVEMon.MainWindow.AddTab(CharLoginInfo cli) in D:\Gentoo\Copy of +evemon-svn\MainWindow.cs:line 426 + at EVEMon.MainWindow.AddCharacters() in D:\Gentoo\Copy of +evemon-svn\MainWindow.cs:line 169 + at EVEMon.MainWindow.MainWindow_Load(Object sender, EventArgs e) in +D:\Gentoo\Copy of evemon-svn\MainWindow.cs:line 69 + at System.Windows.Forms.Form.OnLoad(EventArgs e) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Form.cs:line 2008 + at EVEMon.Common.EVEMonForm.OnLoad(EventArgs e) in D:\Gentoo\Copy of +evemon-svn\EVEMon.Common\EVEMonForm.cs:line 24 + at System.Windows.Forms.Form.OnLoadInternal(EventArgs e) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Form.cs:line 2821 + at System.Windows.Forms.Form.OnCreateControl() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Form.cs:line 1958 + at System.Windows.Forms.Control.CreateControl() in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3576 + at System.Windows.Forms.Control.SetVisibleCore(Boolean value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 4735 + at System.Windows.Forms.Form.SetVisibleCore(Boolean value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Form.cs:line 2274 + at System.Windows.Forms.Control.set_Visible(Boolean value) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Control.cs:line 3243 + at System.Windows.Forms.Application.RunLoop(Boolean Modal, +ApplicationContext context) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Application.cs:line 633 + at System.Windows.Forms.Application.Run(Form mainForm) in +D:\Gentoo\Managed.Windows.Forms\System.Windows.Forms\Application.cs:line 534 + at EVEMon.Program.Main() in D:\Gentoo\Copy of +evemon-svn\Program.cs:line 50 + + + +Expected Results: +Form creates without problems (the attached test case has most other +functionality trimmed) + + +How often does this happen? +Always (checked on Windows through VS2005). On Linux I get an error in mono +unmanaged code, I will fill a bug for it later. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
