[Mono-bugs] [Bug 374713] ComboBox: PageUp/PageDown crash in Simple mode

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 2 04:17:24 EDT 2008


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

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





--- Comment #9 from Andy Hume <andyhume32 at yahoo.co.uk>  2008-06-02 02:17:24 MDT ---
Looks good.  Except for one corner case, the last one in the attached list
(attachment 217175):
  SimpleMode, IntegralHeight = false, Height=30 (less than one item!)

crashes at bottom
[[
Unhandled Exception: System.ArgumentOutOfRangeException: '18' is not a valid
value for 'Value'. 'Value' should be between 'Minimum' and 'Maximum' [@17->18
0<->17 0_0]
Parameter name: Value
at System.Windows.Forms.ScrollBar.set_Value (int) [0x0013a] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ScrollBar.cs:619
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.ScrollBar.set_Value (int) <0x00041>
at ComboListBox.Scroll (int) [0x00070] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ComboBox.cs:2554
at (wrapper remoting-invoke-with-check) ComboListBox.Scroll (int) <0x00041>
at System.Windows.Forms.ComboBox.OnKeyDownCB
(object,System.Windows.Forms.KeyEventArgs) [0x0011f] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ComboBox.cs:1642
at System.Windows.Forms.Control.OnKeyDown (System.Windows.Forms.KeyEventArgs)
[0x0001c] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:6184
at System.Windows.Forms.ComboBox.OnKeyDown (System.Windows.Forms.KeyEventArgs)
[0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ComboBox.cs:1222
]]


-- 
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