[Mono-bugs] [Bug 384182] Scrollbar crash etc when LargeChange is zero

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 29 05:30:17 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=384182

User andyhume32 at yahoo.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=384182#c2


Andy Hume <andyhume32 at yahoo.co.uk> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |




--- Comment #2 from Andy Hume <andyhume32 at yahoo.co.uk>  2008-04-29 03:30:16 MST ---
Scrollbar still crashable if one tries very hard. :-,(  Was tempted to open a
new MINOR bug, but maybe its easily fixable...

1. With LargeChange=0, drag the tab to the very end of the scrollbar.
2. Now Value==(Maximum+1), which it shouldn't be.  MSFT has Value==Maximum in
this case.
3. Secondly, now clicking either scrollbar-arrow or clicking in the scrollbar
causes a crash:
[[
Unhandled Exception: System.ArgumentOutOfRangeException: '101' is not a valid
value for 'Value'. 'Value' should be between 'Minimum' and 'Maximum' [@101->101
0<->100 0_0]
Parameter name: Value
at System.Windows.Forms.ScrollBar.set_Value (int) <0x00502>
at System.Windows.Forms.ScrollBar.LargeDecrement () <0x00080>
at System.Windows.Forms.ScrollBar.OnMouseDownSB
(object,System.Windows.Forms.MouseEventArgs) <0x00e5b>
at System.Windows.Forms.Control.OnMouseDown
(System.Windows.Forms.MouseEventArgs) <0x00050>
at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message&)
<0x0021f>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
<0x0020f>
at System.Windows.Forms.ScrollBar.WndProc (System.Windows.Forms.Message&)
<0x0000d>
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00168>
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00060>
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00063>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32DispatchMessage
(System.Windows.Forms.MSG&) <0x00004>
at System.Windows.Forms.XplatUIWin32.DispatchMessage
(System.Windows.Forms.MSG&) <0x0000a>
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
<0x00015>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x0099f>
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) <0x0004c>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00025>
at PropGridObj.RunGrid () <0x005a4>
at PropGridObj.Main () <0x00007>
]]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list