[Mono-bugs] [Bug 80128][Nor] Changed - TabControl selected tab does not match Microsoft implementation
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Dec 10 06:03:41 EST 2006
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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=80128
--- shadow/80128 2006-12-06 09:14:31.000000000 -0500
+++ shadow/80128.tmp.11473 2006-12-10 06:03:41.000000000 -0500
@@ -1,12 +1,12 @@
Bug#: 80128
Product: Mono: Class Libraries
Version: 1.0
OS: other
OS Details:
-Status: RESOLVED
+Status: REOPENED
Resolution:
Severity: Unknown
Priority: Normal
Component: Windows.Forms
AssignedTo: shana.ufie at gmail.com
ReportedBy: georgegiolfan at yahoo.com
@@ -68,6 +68,24 @@
Repro for regression
------- Additional Comments From shana.ufie at gmail.com 2006-12-06 09:14 -------
Bleh, bugzilla seems to have lost my comment... Anyway, forgot to
commit another fix for this, it's there now, rev 69096 :)
+
+------- Additional Comments From gert.driesen at pandora.be 2006-12-10 06:03 -------
+Your patch introduces some regressions:
+
+* The new value for SelectedIndex should also be verified if the
+handle is not yet created.
+* SelectedIndexChanged event should also be fired for new value that
+exceeds number of tabpages.
+
+Also, the following changes need to be made for the 2.0 profile (to
+match MS):
+* SelectedIndexChanged event should not fire if the handle is not
+created.
+* If the new value is less than -1, an ArgumentOutOfRangeException
+must be thrown (instead of ArgumentException for 1.0 profile).
+
+I've attached a patch for TabControlTest.cs that adds/improves unit
+tests for TabControl.
More information about the mono-bugs
mailing list