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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 14 01:42:06 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#c2


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

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                                        |ASSIGNED
      Info Provider|andyhume32 at yahoo.co.uk                          |




--- Comment #2 from Andy Hume <andyhume32 at yahoo.co.uk>  2008-05-13 23:42:06 MST ---
Sorry, its the one on bug 371672.

That crash is gone.  However PageDown still moves one upwards, and PageUp one
downwards and crashes when one gets to the last item[1].  Apparently since
"(listbox_ctrl.page_size-1)"==-1.  Add "Math.Max(1,xxxx)" around both?


----
[1] Pass a parameter on the command-line to get a much shorter list to scroll
through!


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