https://bugzilla.novell.com/show_bug.cgi?id=374713
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=374713#c1 Summary: ComboBox: PageUp/PageDown crash in Simple mode Product: Mono: Class Libraries Version: 1.9.0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] QAContact: [email protected] Found By: --- ComboBox supports PageUp/PageDown to navigate through the list. However this does not work in various cases. In Simple mode, it mis-navigates and also causes a crash. Faults: * PageDn/Up -> moves one _item_ up/down respectively. * At top/bottom of list wierd behaviour including exception. Repro #1 1. Open repro app afresh, ComboBox in Simple mode. 2. Hit PageDn -> crash! [[ Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex (int) at System.Windows.Forms.ComboBox.OnKeyDownCB (object,System.Windows.Forms.KeyEventArgs) at System.Windows.Forms.Control.OnKeyDown (System.Windows.Forms.KeyEventArgs) at System.Windows.Forms.ComboBox.OnKeyDown (System.Windows.Forms.KeyEventArgs) at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message&) ..trimmed and truncated... ]] Repro #2 1. Open repro app afresh, ComboBox in Simple mode, logging enabled. 2. Hit down-arrow four times. See selection 'MButton'. 3. Hit PageDn. Should navigate to one page down instead it navigates to one item up! Logging confirms thus. Repro #2b 4. Keep hitting PageDn until at the top item, 'None' with logging index=0. 5. Hit PageDn again. See non-item being chosen, index=-1! 6. Again -> crash. Simple mode is of course itself broken, bug 371991. So this lower priority? Maybe the zero-size of the list is the sole cause of this bug too?? Present in 1.2.6, 1.9, SVN. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
